[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

Ronald Oussoren report at bugs.python.org
Mon Mar 24 16:12:08 CET 2014


Ronald Oussoren added the comment:

You could trace using dtruss (as root), which behaves similarly to strace.

What happens when you first set "http_proxy" in the environment:

$ env http_proxy= python -m SimpleHTTPServer

If that doesn't cause problems the hang is caused by the _scproxy extension, which urllib uses to get the system proxy settings on OSX.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21035>
_______________________________________


More information about the Python-bugs-list mailing list