mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
backout 8b384de4e780, so a proper fix can be considered (#5715)
This commit is contained in:
parent
fbe56bb8bd
commit
f847393308
1 changed files with 0 additions and 2 deletions
|
@ -534,12 +534,10 @@ class ForkingMixIn:
|
||||||
# This must never return, hence os._exit()!
|
# This must never return, hence os._exit()!
|
||||||
try:
|
try:
|
||||||
self.finish_request(request, client_address)
|
self.finish_request(request, client_address)
|
||||||
self.socket.close()
|
|
||||||
os._exit(0)
|
os._exit(0)
|
||||||
except:
|
except:
|
||||||
try:
|
try:
|
||||||
self.handle_error(request, client_address)
|
self.handle_error(request, client_address)
|
||||||
self.socket.close()
|
|
||||||
finally:
|
finally:
|
||||||
os._exit(1)
|
os._exit(1)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue