[docs] [issue13354] tcpserver should document non-threaded long-living connections

Martin Panter report at bugs.python.org
Fri Feb 19 17:53:46 EST 2016


Martin Panter added the comment:

Bas: I think you need to provide more information. Are you talking about protocols like HTTP, where multiple high-level (HTTP-level) requests are made over a single low-level (socket-level) connection? Some example code might help.

Overriding shutdown_request() sounds like a bad idea. I think you eventually would want to truly shutdown the connection. Perhaps it is better to override process_request() and avoid it calling shutdown() until it is ready.

----------
status: open -> pending

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13354>
_______________________________________


More information about the docs mailing list