Skip to content Skip to sidebar Skip to footer

Python HTTP Server Unable To Send Response Inside Windows Service

I've written a simple HTTP server and made it into a Windows service using pywin32. The server successfully processes requests when run in the debugger, inside actual service it ge

Solution 1:

Actually it was hanging when executing sys.stderr.write (which is the default logging output for BaseHTTPRequestHandler). So I've overridden log_message function in my request handler class and it works fine now.


Post a Comment for "Python HTTP Server Unable To Send Response Inside Windows Service"