[BACK]Return to bozohttpd.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / libexec / httpd

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/libexec/httpd/bozohttpd.h between version 1.33.2.2.2.5 and 1.33.2.2.2.6

version 1.33.2.2.2.5, 2018/11/28 19:57:50 version 1.33.2.2.2.6, 2019/06/15 15:57:32
Line 3 
Line 3 
 /*      $eterna: bozohttpd.h,v 1.39 2011/11/18 09:21:15 mrg Exp $       */  /*      $eterna: bozohttpd.h,v 1.39 2011/11/18 09:21:15 mrg Exp $       */
   
 /*  /*
  * Copyright (c) 1997-2018 Matthew R. Green   * Copyright (c) 1997-2019 Matthew R. Green
  * All rights reserved.   * All rights reserved.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
Line 34 
Line 34 
   
 #include "netbsd_queue.h"  #include "netbsd_queue.h"
   
   #include <stdbool.h>
   #include <signal.h>
   
 #include <sys/stat.h>  #include <sys/stat.h>
   
 #ifndef NO_LUA_SUPPORT  #ifndef NO_LUA_SUPPORT
Line 117  typedef struct bozohttpd_t {
Line 120  typedef struct bozohttpd_t {
         int              hide_dots;     /* hide .* */          int              hide_dots;     /* hide .* */
         int              process_cgi;   /* use the cgi handler */          int              process_cgi;   /* use the cgi handler */
         char            *cgibin;        /* cgi-bin directory */          char            *cgibin;        /* cgi-bin directory */
           unsigned        ssl_timeout;    /* ssl timeout */
         unsigned        initial_timeout;/* first line timeout */          unsigned        initial_timeout;/* first line timeout */
         unsigned        header_timeout; /* header lines timeout */          unsigned        header_timeout; /* header lines timeout */
         unsigned        request_timeout;/* total session timeout */          unsigned        request_timeout;/* total session timeout */
Line 195  typedef struct bozoprefs_t {
Line 199  typedef struct bozoprefs_t {
         char            **value;        /* values for the name entries */          char            **value;        /* values for the name entries */
 } bozoprefs_t;  } bozoprefs_t;
   
   /* sun2 has a tiny VA range */
   #ifdef __mc68010__
   #ifndef BOZO_WRSZ
   #define BOZO_WRSZ       (16 * 1024)
   #endif
   #ifndef BOZO_MMAPSZ
   #define BOZO_MMAPSZ     (BOZO_WRSZ * 4)
   #endif
   #endif
   
 /* by default write in upto 64KiB chunks, and mmap in upto 64MiB chunks */  /* by default write in upto 64KiB chunks, and mmap in upto 64MiB chunks */
 #ifndef BOZO_WRSZ  #ifndef BOZO_WRSZ
 #define BOZO_WRSZ       (64 * 1024)  #define BOZO_WRSZ       (64 * 1024)
Line 259  void debug__(bozohttpd_t *, int, const c
Line 273  void debug__(bozohttpd_t *, int, const c
 /* be sure to always return this error up */  /* be sure to always return this error up */
 int     bozo_http_error(bozohttpd_t *, int, bozo_httpreq_t *, const char *);  int     bozo_http_error(bozohttpd_t *, int, bozo_httpreq_t *, const char *);
   
 int     bozo_check_special_files(bozo_httpreq_t *, const char *) BOZO_CHECKRET;  int     bozo_check_special_files(bozo_httpreq_t *, const char *, bool) BOZO_CHECKRET;
 char    *bozo_http_date(char *, size_t);  char    *bozo_http_date(char *, size_t);
 void    bozo_print_header(bozo_httpreq_t *, struct stat *, const char *,  void    bozo_print_header(bozo_httpreq_t *, struct stat *, const char *,
                           const char *);                            const char *);
Line 432  char *bozo_get_pref(bozoprefs_t *, const
Line 446  char *bozo_get_pref(bozoprefs_t *, const
   
 int bozo_get_version(char */*buf*/, size_t /*size*/);  int bozo_get_version(char */*buf*/, size_t /*size*/);
   
   extern volatile sig_atomic_t    bozo_timeout_hit;
   
 #endif  /* BOZOHTTOPD_H_ */  #endif  /* BOZOHTTOPD_H_ */

Legend:
Removed from v.1.33.2.2.2.5  
changed lines
  Added in v.1.33.2.2.2.6

CVSweb <webmaster@jp.NetBSD.org>