From f8473933083cd045bdb0bf0dda8516e268846bd5 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 24 May 2011 12:50:34 -0500 Subject: backout 8b384de4e780, so a proper fix can be considered (#5715) --- Lib/socketserver.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Lib/socketserver.py b/Lib/socketserver.py index c53ac29..e7faf88 100644 --- a/Lib/socketserver.py +++ b/Lib/socketserver.py @@ -534,12 +534,10 @@ class ForkingMixIn: # This must never return, hence os._exit()! try: self.finish_request(request, client_address) - self.socket.close() os._exit(0) except: try: self.handle_error(request, client_address) - self.socket.close() finally: os._exit(1) -- cgit v0.12