• Guido van Rossum's avatar
    Apply the first chunk of the second patch from SF bug #471720: · 83c32818
    Guido van Rossum yazdı
    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.)
    83c32818
SocketServer.py 17.7 KB