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=35715>.
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=35715

           Summary: Buffering in JK needs to be configurable for IIS
           Product: Tomcat 5
           Version: 5.5.9
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Native:JK
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


The call to the ISAPI function WriteClient should have a reasonable large 
buffer for high latency links, because IIS waits for the data to get ACKed 
before sending more data.

The actual implementation uses only an 8k buffer for sending to the browser. It 
would be very helpful to have the buffer size configurable in the worker config 
file. The buffer size should be higher than the TCP window (bandwidth x delay 
product).

There are various definitions for buffer sizes. In this case the DEF_BUFFER_SZ 
in jk_msg_buff.h is probably the interesting one.

jk_msg_buff.h:#define DEF_BUFFER_SZ (8 * 1024)
jk_ajp12_worker.c:#define READ_BUF_SIZE           (8*1024)
jk_ajp13.h:#define AJP13_READ_BUF_SIZE         (8*1024)
jk_ajp14.h:#define AJP14_READ_BUF_SIZE         (8*1024)
jk_sockbuf.h:#define SOCKBUF_SIZE (8*1024)
jk_status.c:#define HUGE_BUFFER_SIZE (8*1024)
jk_util.c:#define HUGE_BUFFER_SIZE (8*1024)

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to