[Web-SIG] Patch for wsgiref: interrupted connections result in close() never being called
kkinder at gmail.com
Sat Dec 16 02:51:20 CET 2006
If you write a wsgi server that relies on the handler's close() method being
called for requests, you find out that if the browser disconnects mid-stream,
close is never called.
The attached patch should be self-explanatory. It fixes this problem.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1389 bytes
Desc: not available
Url : http://mail.python.org/pipermail/web-sig/attachments/20061215/56a9b858/attachment.bin
More information about the Web-SIG