tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42003] - Need to increase the maximum buffer size for HTTP header from 16k to 64k.
Date Wed, 31 Oct 2007 15:23:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42003>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42003





------- Additional Comments From cjohnson702@gmail.com  2007-10-31 08:23 -------
The buffer size can be increased by modifying the source code associated with
the iis dll and the AJP protocol. I was only successful in producing a working
dll by using Visual Studio 6 sp5 with the associated x86 makefile. The iis dll
code base requires the following changes are made:

native\iis\jk_isapi_plugin.c(1977): char huge_buf[64 * 1024];
native\common\jk_ajp12_worker.c(38): #define READ_BUF_SIZE           (64*1024)
native\common\jk_ajp13.h(39): #define AJP13_READ_BUF_SIZE         (64*1024)
native\common\jk_ajp14.h(41): #define AJP14_READ_BUF_SIZE         (64*1024)
native\common\jk_msg_buff.h(34): #define DEF_BUFFER_SZ (64 * 1024)
native\common\jk_sockbuf.h(26): #define SOCKBUF_SIZE (64*1024)
native\common\jk_status.c(39): #define HUGE_BUFFER_SIZE (64*1024)
native\common\jk_util.c(115): #define HUGE_BUFFER_SIZE (64*1024)

In addition the following change will need to be made to one of the AJP protocol
classes:

\jk\java\org\apache\coyote\Constants.java(95): public static final int
MAX_PACKET_SIZE = 65536;




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message