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
|
@ -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…
Reference in New Issue