]> granicus.if.org Git - python/commit
http://bugs.python.org/issue6382
authorKristján Valur Jónsson <kristjan@ccpgames.com>
Tue, 7 Jul 2009 09:01:34 +0000 (09:01 +0000)
committerKristján Valur Jónsson <kristjan@ccpgames.com>
Tue, 7 Jul 2009 09:01:34 +0000 (09:01 +0000)
commitc71fae5ad7d3742764adc317b905fd7e297d12bf
tree26d28c19d775989ee0a6cff244944b16c8dbcf0c
parente93eee7d220cdc5fcaa833d90047eaf0eb035cdf
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