https://issues.apache.org/bugzilla/show_bug.cgi?id=55475
Yann Ylavic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #30848|0 |1 is obsolete| | --- Comment #16 from Yann Ylavic <[email protected]> --- Created attachment 30853 --> https://issues.apache.org/bugzilla/attachment.cgi?id=30853&action=edit Detect incomplete body in HTTP input filter and return APR_ECONNABORTED (trunk) The patch to apply for the second option (if the core's patch is not applied). For (non-)deteminism, it depends on whether the backend connection is closed just after the last chunk is received or later. If you add a little delay in your python script before closing the connection you should reproduce in any case (without the patch of course). Personnaly I use netcat as server like : $ nc -l -p 20580 <<EOF HTTP/1.1 200 OK Date: Sun, 15 Sep 2013 06:36:16 GMT Transfer-Encoding: chunked Content-Type: text/xml Server: TornadoServer/3.1 a 1234567890 EOF or, in the middle of a chunk : $ nc -l -p 20580 <<EOF HTTP/1.1 200 OK Date: Sun, 15 Sep 2013 06:36:16 GMT Transfer-Encoding: chunked Content-Type: text/xml Server: TornadoServer/3.1 100 foo EOF To close the connection immediatly I hit Ctrl-C, while the nc's -q0 arg does the job to close the connection immediatly. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
