You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2002/08/26 22:16:33 UTC
cvs commit: httpd-2.0/modules/arch/win32 mod_isapi.c
wrowe 2002/08/26 13:16:33
Modified: . CHANGES
modules/arch/win32 mod_isapi.c
Log:
The documentation says: ISAPIReadAheadBuffer defaults to 49152 bytes,
which is exactly 48 kb. But the module actually uses a default of 48192
bytes. This seems to be a typo. Instead of changing the documentation I
attached a patch for mod_isapi.c to set the default value of
ISAPIReadAheadBuffer to 49152.
Submitted by: Astrid Ke�ler <ke...@kess-net.de>
Revision Changes Path
1.899 +3 -0 httpd-2.0/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/httpd-2.0/CHANGES,v
retrieving revision 1.898
retrieving revision 1.899
diff -u -r1.898 -r1.899
--- CHANGES 26 Aug 2002 16:41:56 -0000 1.898
+++ CHANGES 26 Aug 2002 20:16:32 -0000 1.899
@@ -1,5 +1,8 @@
Changes with Apache 2.0.41
+ *) Correct ISAPIReadAheadBuffer to default to 49152, per mod_isapi docs.
+ [Andr� Malo, Astrid Ke�ler <ke...@kess-net.de>]
+
*) Fix Segfault in mod_cache. [Kris Verbeeck <Kr...@ubizen.com>]
*) Fix a null pointer dereference in the merge_env_dir_configs
1.84 +2 -2 httpd-2.0/modules/arch/win32/mod_isapi.c
Index: mod_isapi.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/arch/win32/mod_isapi.c,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -r1.83 -r1.84
--- mod_isapi.c 21 Jul 2002 09:19:19 -0000 1.83
+++ mod_isapi.c 26 Aug 2002 20:16:33 -0000 1.84
@@ -209,7 +209,7 @@
AP_INIT_TAKE1("ISAPIReadAheadBuffer", ap_set_int_slot,
(void *)APR_OFFSETOF(isapi_dir_conf, read_ahead_buflen),
OR_FILEINFO, "Maximum client request body to initially pass to the"
- " ISAPI handler (default: 48192)"),
+ " ISAPI handler (default: 49152)"),
AP_INIT_FLAG("ISAPILogNotSupported", ap_set_flag_slot,
(void *)APR_OFFSETOF(isapi_dir_conf, log_unsupported),
OR_FILEINFO, "Log requests not supported by the ISAPI server"
@@ -1362,7 +1362,7 @@
/* Fixup defaults for dconf */
cid->dconf.read_ahead_buflen = (dconf->read_ahead_buflen == ISAPI_UNDEF)
- ? 48192 : dconf->read_ahead_buflen;
+ ? 49152 : dconf->read_ahead_buflen;
cid->dconf.log_unsupported = (dconf->log_unsupported == ISAPI_UNDEF)
? 0 : dconf->log_unsupported;
cid->dconf.log_to_errlog = (dconf->log_to_errlog == ISAPI_UNDEF)