On 30/08/2012 14:12, ma...@apache.org wrote:
> Author: markt
> Date: Thu Aug 30 13:12:13 2012
> New Revision: 1378921
> 
> URL: http://svn.apache.org/viewvc?rev=1378921&view=rev
> Log:
> More chunked encoding improvements

With this change I get consistent test failures on Windows for 7.0.x and
intermittent failures for trunk.

I haven't see issues on Linux.

My best guess is that the loop-back adaptor implementation on Windows is
clearing the TCP buffers and closing the socket before the client has a
chance to read all the data. Adding a short sleep just before the socket
close fixes the problem. Adding one after the close does not.

My plan is to refactor the unit tests to not rely on receiving a 500
response in error conditions.

Mark

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

Reply via email to