Martin Panter added the comment: Okay here is a demonstration script, which does two tests: a short basic GET request, and a 2 MB POST request. Output for me is usually:
Platform: Linux-3.15.5-2-ARCH-x86_64-with-arch Normal request: getresponse() raised BadStatusLine("''",) 2 MB request: request() raised BrokenPipeError(32, 'Broken pipe'); errno=EPIPE Sometimes I get a BadStatusLine even for the second request: Platform: Linux-3.15.5-2-ARCH-x86_64-with-arch Normal request: getresponse() raised BadStatusLine("''",) 2 MB request: getresponse() raised BadStatusLine("''",) ---------- Added file: http://bugs.python.org/file37735/persistent-closing.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3566> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com