Problems using SocketServer.ThreadingTCPServer

Joseph A Knapka jknapka at
Thu Jan 31 11:50:49 EST 2002

Joao Prado Maia wrote:
> Well, correct me if I'm wrong but if OE is dropping the connection, isn't
> SocketServer.ThreadingTCPServer' job to call the correct method on my class
> ?

I'm not completely sure, but I think it's your job to detect
end-of-connection in your handle() method and return. The
TCPServer, I believe, just does:

    rqh = YourRequestHandlerClass(...)


-- Joe
"I should like to close this book by sticking out any part of my neck
 which is not yet exposed, and making a few predictions about how the
 problem of quantum gravity will in the end be solved."
 --- Physicist Lee Smolin, "Three Roads to Quantum Gravity"

More information about the Python-list mailing list