commit | c71fae5ad7d3742764adc317b905fd7e297d12bf | [log] [tgz] |
---|---|---|
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | Tue Jul 07 09:01:34 2009 +0000 |
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | Tue Jul 07 09:01:34 2009 +0000 |
tree | 26d28c19d775989ee0a6cff244944b16c8dbcf0c | |
parent | e93eee7d220cdc5fcaa833d90047eaf0eb035cdf [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.