]> granicus.if.org Git - python/commit
Apply the first chunk of the second patch from SF bug #471720:
authorGuido van Rossum <guido@python.org>
Tue, 23 Oct 2001 21:42:45 +0000 (21:42 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 23 Oct 2001 21:42:45 +0000 (21:42 +0000)
commit83c3281826316e2a1c1e9b682c5d303be5df79f4
tree7c2738d91782f1c6dfeb132903ab4f5995024284
parent00ebd46dfc8623ac0bd436e5d0c47b53cac29fb9
Apply the first chunk of the second patch from SF bug #471720:
ThreadingMixIn/TCPServer forgets close (Max Neunhöffer).

This ensures that handle_error() and close_request() are called when
an error occurs in the thread.

(I am not applying the second chunk of the patch, which moved the
finish() call into the finally clause in BaseRequestHandler's __init__
method; that would be a semantic change that I cannot accept at this
point - the data would be sent even if the handler raised an
exception.)
Lib/SocketServer.py