diff options
author | Guido van Rossum <guido@python.org> | 1999-06-01 18:58:34 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-06-01 18:58:34 (GMT) |
commit | 198e7cac5a3267ffa7243514ac085410f2638c69 (patch) | |
tree | b3d9c2d7773944509cccf87ef8c437322683b4ef /Lib/SocketServer.py | |
parent | 6b708d569c7e0768522e6f15e3a2ca5f5c42ab6b (diff) | |
download | cpython-198e7cac5a3267ffa7243514ac085410f2638c69.zip cpython-198e7cac5a3267ffa7243514ac085410f2638c69.tar.gz cpython-198e7cac5a3267ffa7243514ac085410f2638c69.tar.bz2 |
Andy Dustman notes that I patched the close() call in the wrong place.
Here's the correct patch!
Diffstat (limited to 'Lib/SocketServer.py')
-rw-r--r-- | Lib/SocketServer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/SocketServer.py b/Lib/SocketServer.py index d8081ef..fe1402e 100644 --- a/Lib/SocketServer.py +++ b/Lib/SocketServer.py @@ -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: |