This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chobeiry
Recipients chobeiry, ned.deily, pitrou, ronaldoussoren
Date 2014-03-23.15:19:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395587987.51.0.509148465698.issue21035@psf.upfronthosting.co.za>
In-reply-to
Content
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...
History
Date User Action Args
2014-03-23 15:19:47chobeirysetrecipients: + chobeiry, ronaldoussoren, pitrou, ned.deily
2014-03-23 15:19:47chobeirysetmessageid: <1395587987.51.0.509148465698.issue21035@psf.upfronthosting.co.za>
2014-03-23 15:19:47chobeirylinkissue21035 messages
2014-03-23 15:19:46chobeirycreate