commit | a5b47cea768425d025bc29379da24d2ba2d379dc | [log] [tgz] |
---|---|---|
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | Tue Jul 07 09:09:10 2009 +0000 |
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | Tue Jul 07 09:09:10 2009 +0000 |
tree | c887b28ba59b193273288df246d75dee507a39d9 | |
parent | 783f86ecb1b3731d1c2ca2be11d3067ad8d5a4f1 [diff] |
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.