On Wed, Mar 28, 2012 at 1:52 AM, Roland Hedberg wrote:
> So, I went for the low-hanging fruit and defined my own TCPServer class
>
> class MyTCPServer(SocketServer.TCPServer):
> def __init__(self, server_address, RequestHandlerClass):
> self.allow_reuse_address = True
> SocketServ
So, I went for the low-hanging fruit and defined my own TCPServer class
class MyTCPServer(SocketServer.TCPServer):
def __init__(self, server_address, RequestHandlerClass):
self.allow_reuse_address = True
SocketServer.TCPServer.__init__(self, server_address,
On Wed, Mar 28, 2012 at 12:03 AM, Roland Hedberg wrote:
> When the main script is done it closes down the HTTP server by doing:
>
> op.terminate()
>
> The problem I have is that if the main script is run again almost immediate
> then the old HTTP server
> process doesn't seem to have released