[issue25095] test_httpservers hangs on 3.5.0, win 7

2018-01-04 Thread Berker Peksag
Berker Peksag added the comment: Thank you for tracking down the problem, William! I just took a quick look at your patch and it seems reasonable to me. Setting protocol_version to 'HTTP/1.1' means setting the close_connection attribute of BaseHTTPRequestHandler to

[issue25095] test_httpservers hangs on 3.5.0, win 7

2018-01-04 Thread William Pickard
Change by William Pickard : -- keywords: +patch pull_requests: +4969 stage: -> patch review ___ Python tracker ___

[issue25095] test_httpservers hangs on 3.5.0, win 7

2018-01-04 Thread William Pickard
William Pickard added the comment: Scratch the previous message about the possible cause, I found the true cause, getresponse() is waiting for a specific header, one that BaseHTTPRequestHandler.send_error sends and BaseHTTPRequestHandler.send_response() doesn't, that

[issue25095] test_httpservers hangs on 3.5.0, win 7

2018-01-04 Thread WildCard65
WildCard65 added the comment: I believe I found the issue, might be an issue between sending the request + calling get_response() and the time it takes for server to process response, my print cases: test_err (test.test_httpservers.RequestHandlerLoggingTestCase) ...

[issue25095] test_httpservers hangs on 3.5.0, win 7

2018-01-04 Thread WildCard65
WildCard65 added the comment: Adding onto this issue, I believe I tracked down the change that caused the issue: https://github.com/python/cpython/commit/c0a23e63207984304027f298eefc738b6b3c94b1 This issue also affects the test with Python 3.6 -- nosy:

[issue25095] test_httpservers hangs on 3.5.0, win 7

2015-09-21 Thread STINNER Victor
Changes by STINNER Victor : -- keywords: +3.5regression ___ Python tracker ___ ___

[issue25095] test_httpservers hangs on 3.5.0, win 7

2015-09-16 Thread Martin Panter
Martin Panter added the comment: According to those back traces, the server has apparently already handled one request and is waiting for a second request. However the client is still waiting for a response from its original request. Some things I might try would be to disable the server, and

[issue25095] test_httpservers hangs on 3.5.0, win 7

2015-09-16 Thread STINNER Victor
STINNER Victor added the comment: You may try "hg bisect" to find which revision broke test_httpservers. It can be slow if you have to recompile manually Python :-( -- ___ Python tracker

[issue25095] test_httpservers hangs on 3.5.0, win 7

2015-09-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_get (test.test_httpservers.RequestHandlerLoggingTestCase) ... same on repeat -- ___ Python tracker ___

[issue25095] test_httpservers hangs on 3.5.0, win 7

2015-09-15 Thread STINNER Victor
STINNER Victor added the comment: Where does it hang? For example, try to run the test using: python.exe -m test -v --timeout=10 test_httpservers Can it be a firewall or antivirus issue? Try to add some print() in TestServerThread.run() to check if the HTTP server is running or not.

[issue25095] test_httpservers hangs on 3.5.0, win 7

2015-09-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_get (test.test_httpservers.RequestHandlerLoggingTestCase) ... Timeout (0:00:10)! Thread 0x1654 (most recent call first): File "C:\Programs\Python35\lib\socket.py", line 571 in readinto File "C:\Programs\Python35\lib\http\server.py", line 383 in

[issue25095] test_httpservers hangs on 3.5.0, win 7

2015-09-14 Thread Martin Panter
Martin Panter added the comment: Can you identify which test case hangs? E.g. on Linux I can run the following to see each test case run: ./python -m unittest -v test.test_httpservers -- nosy: +martin.panter ___ Python tracker

[issue25095] test_httpservers hangs on 3.5.0, win 7

2015-09-13 Thread Terry J. Reedy
New submission from Terry J. Reedy: test_httpservers ok on 3.4.3, hangs indefinitely (over an hour) on 3.5.0, win 7. -- components: Library (Lib), Tests, Windows messages: 250606 nosy: paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware priority: normal severity: normal status: