[EMAIL PROTECTED] wrote:
Author: billbarker
Date: Wed Dec 28 23:58:51 2005
New Revision: 359753
URL: http://svn.apache.org/viewcvs?rev=359753&view=rev
Log:
Unconditionally return EOS for an attempt to read the body of any request that
doesn't send CL or TE.
I haven't seen any real objections to the patch (and it can't break a working
HTTP/1.0 client :). Also, it brings us in like with what Httpd does in this
case.
Fix for Bug #38030
Submitted By: Remy
I have to do a separate, identical, commit for the HTTP connector people
should be using, then.
In JK, I don't understand the usage of the "read required" field. It
seems to be set according to:
// Check to see if there should be a body packet coming along
// immediately after
int cl=req.getContentLength();
if(cl > 0) {
JkInputStream jkIS = ep.getInputStream();
jkIS.setIsReadRequired(true);
if(!delayInitialRead) {
jkIS.receive();
}
}
Does this work with chunking ?
Rémy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]