Parto Chobeiry added the comment:

TCP ports are available - did the following while running "ab" against 
"python3.4 -m http.server":

 u1@~$ while true; do netstat -an|grep tcp|wc; sleep 1; done
      50     300    3950
      50     300    3950
      50     300    3950
      50     300    3950
      50     300    3950
      50     300    3950
      49     294    3871
      51     306    4029
      51     306    4029
      51     306    4029
      51     306    4029
      51     306    4029
      51     306    4029
      51     306    4029
      51     306    4029
      51     306    4029
      51     306    4029
      51     306    4029
      50     300    3950
      50     300    3950
      51     306    4029
      51     306    4029
      51     306    4029
      51     306    4029

51 TCP sockets in use.

Connecting from another client then blocks for some time (I hit enter multiple 
times) before showing "connected to localhost", then the request is answered:

 u1@~$ telnet 127.0.0.1 8000
 Trying 127.0.0.1...
 GET /




 Connected to localhost.
 Escape character is '^]'.
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd";>
 <html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 <title>Directory listing for /</title>
 </head>
 ...

How do I trace in MacOSX? No truss or strace available...

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21035>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to