https://bz.apache.org/bugzilla/show_bug.cgi?id=57661

--- Comment #1 from Tobias Oberlies <tobias.oberl...@sap.com> ---
It is unfortunate that Tomcat unconditionally send 100 CONTINUE
acknowledgements. (In Tomcat 7 this is triggered by the StandardContextValve.)

The "Expect: 100-continue" is important for clients that want to send a large
POST request but are unable to read the response before they have sent the
complete request body (e.g. the Apache httpclient). These clients could send
only headers plus the "Expect: 100-continue" and would then see an error
response (e.g. 403). With the current behaviour of Tomcat however, they are
asked to send the entity, the server application responds with an error, but
the client doesn't see it (assuming the request entity is larger than the
swallow size, i.e. approx. 2 MB). Instead the client only sees an exception
("connection reset").

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

Reply via email to