]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
http://bugs.python.org/issue6382
authorKristján Valur Jónsson <kristjan@ccpgames.com>
Tue, 7 Jul 2009 09:09:10 +0000 (09:09 +0000)
committerKristján Valur Jónsson <kristjan@ccpgames.com>
Tue, 7 Jul 2009 09:09:10 +0000 (09:09 +0000)
commita5b47cea768425d025bc29379da24d2ba2d379dc
treec887b28ba59b193273288df246d75dee507a39d9
parent783f86ecb1b3731d1c2ca2be11d3067ad8d5a4f1
http://bugs.python.org/issue6382
added the shutdown_request() which can perform shutdown before calling close.  This is needed for the ForkingMixIn because different close semantics are required for child and parent process.  shutdown_request(), for TCP servers, calls socket.shutdown() and then calls close_request().  Therefore, this is not an backwards incompatible change, since subclasses that continue to override close_request() continue to work.
Lib/socketserver.py