diff options
author | Guido van Rossum <guido@python.org> | 1999-06-01 18:58:34 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-06-01 18:58:34 +0000 |
commit | 5add3544ddde1e047171fd8ba920606a95c81a2c (patch) | |
tree | 091050ea12633673064a2c924bf0daa1a84236f3 /Lib/SocketServer.py | |
parent | 91f3c31b95f592071600cebd84f3c6b3d79d3c1a (diff) | |
download | cpython-5add3544ddde1e047171fd8ba920606a95c81a2c.tar.gz |
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 d8081efbe0..fe1402e0b2 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: |