[Python-bugs-list] [Bug #130712] BaseHTTPServer.HTTPServer.serve_forever() is stuck

noreply@sourceforge.net noreply@sourceforge.net
Sun, 04 Feb 2001 23:50:02 -0800


Bug #130712, was updated on 2001-Feb-01 09:11
Here is a current snapshot of the bug.

Project: Python
Category: Python Library
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 5
Submitted by: danielnuriyev
Assigned to : nobody
Summary: BaseHTTPServer.HTTPServer.serve_forever() is stuck

Details: Python: 2.1a1
Platform: NT4

BaseHTTPServer.HTTPServer.server_forever() is stuck.
It doesn't happen on my other computer with Windows2000.

Follow-Ups:

Date: 2001-Feb-04 23:50
By: danielnuriyev

Comment:
import BaseHTTPServer, SimpleHTTPServer

server_class=BaseHTTPServer.HTTPServer
handler_class=SimpleHTTPServer.SimpleHTTPRequestHandler
server_address = ('name_of_localhost', 8080)
httpd = server_class(server_address, handler_class)
httpd.serve_forever()
----------------------
When I run the above script in NT, I have to "End Process" of Python.

-------------------------------------------------------

Date: 2001-Feb-01 20:23
By: fdrake

Comment:
(I should also note that I only have Win2K available myself, so it's not
clear I can actually help.)
-------------------------------------------------------

Date: 2001-Feb-01 12:04
By: fdrake

Comment:
I don't understand what you mean by "stuck".  Can you provide more
information about how to reproduce (a 5-line script might do the trick).

Thanks!
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=130712&group_id=5470