mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Andy Dustman notes that I patched the close() call in the wrong place.
Here's the correct patch!
This commit is contained in:
parent
6b708d569c
commit
198e7cac5a
1 changed files with 1 additions and 1 deletions
|
@ -300,11 +300,11 @@ class ForkingMixIn:
|
|||
# Child process.
|
||||
# This must never return, hence os._exit()!
|
||||
try:
|
||||
self.socket.close()
|
||||
self.finish_request(request, client_address)
|
||||
os._exit(0)
|
||||
except:
|
||||
try:
|
||||
self.socket.close()
|
||||
self.handle_error(request,
|
||||
client_address)
|
||||
finally:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue