httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From field...@hyperreal.org
Subject cvs commit: apache-1.3/src/include httpd.h
Date Mon, 10 Aug 1998 04:23:03 GMT
fielding    98/08/09 21:23:03

  Modified:    src/include httpd.h
  Log:
  Use 8190 as the limit since it is more efficient, and explain
  why that is the case.
  
  Revision  Changes    Path
  1.234     +5 -2      apache-1.3/src/include/httpd.h
  
  Index: httpd.h
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/include/httpd.h,v
  retrieving revision 1.233
  retrieving revision 1.234
  diff -u -r1.233 -r1.234
  --- httpd.h	1998/08/10 04:16:13	1.233
  +++ httpd.h	1998/08/10 04:23:02	1.234
  @@ -376,15 +376,18 @@
    * might require large values, but most servers could get by with much
    * smaller limits than we use below.  The request message body size can
    * be limited by the per-dir config directive LimitRequestBody.
  + *
  + * Internal buffer sizes are two bytes more than the AP_LIMIT_REQUEST_LINE
  + * and AP_LIMIT_REQUEST_FIELDSIZE below, which explains the 8190.
    */
   #ifndef AP_LIMIT_REQUEST_LINE
  -#define AP_LIMIT_REQUEST_LINE 8192
  +#define AP_LIMIT_REQUEST_LINE 8190
   #endif /* default limit on bytes in Request-Line (Method+URI+HTTP-version) */
   #ifndef AP_LIMIT_REQUEST_FIELDS
   #define AP_LIMIT_REQUEST_FIELDS 100
   #endif /* default limit on number of request header fields */
   #ifndef AP_LIMIT_REQUEST_FIELDSIZE
  -#define AP_LIMIT_REQUEST_FIELDSIZE 8192
  +#define AP_LIMIT_REQUEST_FIELDSIZE 8190
   #endif /* default limit on bytes in any one header field  */
   
   /*
  
  
  

Mime
View raw message