Hi,
Just noticed a strange behavior in the Java part of the JK dealing with large (over 8184 bytes) data transfers.
Since with 8192 bytes AJP packet size, the maximum transferred size per each packet is 8184 bytes one would expect that for 20000 bytes file the packets would be in a form of: 1:8184,2:8184,3:3632 thus total of 20000 bytes.
But in fact the behavior is rely weird: 1:8184,2:8,3:8184,4:8,5:3616.
Instead only three, the five! packets are transferred.
Seems that algorithm is breaking 8192 bytes of data to two packets (8184 and 8 bytes).
Ajp13.java... No that is the old code the new one is in JkCoyoteHandler.java.
In JkCoyoteHandler the method doWrite cuts the 8192 bytes in 2 messages: one of 8184 and the other of 8 bytes that is the problem.
Bill, Any idea how to solve this, because it's way too inefficient. What's makes the things even worse is that for each packet Apache2 creates a transient bucket thus rising the memory usage.
Regards, Mladen.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]