summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-18 18:02:07 (GMT)
committerGuido van Rossum <guido@python.org>2001-10-18 18:02:07 (GMT)
commita5343ccd28245d96feb21d1457802b97a76aa210 (patch)
tree42cd1031a7b0a2f0a6e53757a134761da0bce6ec /Misc
parent29103c7b32e1c3342bac7a29514c3f033da5458a (diff)
downloadcpython-a5343ccd28245d96feb21d1457802b97a76aa210.zip
cpython-a5343ccd28245d96feb21d1457802b97a76aa210.tar.gz
cpython-a5343ccd28245d96feb21d1457802b97a76aa210.tar.bz2
SF bug #471720: ThreadingMixIn/TCPServer forgets close
Solved with a helper method that calls finish_request() and then close_request(). The code is by Max Neunhöffer.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS3
2 files changed, 4 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index e7400e9..b17219a 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -296,6 +296,7 @@ Takahiro Nakayama
Travers Naran
Fredrik Nehr
Chad Netzer
+Max Neunhöffer
George Neville-Neil
Oscar Nierstrasz
Hrvoje Niksic
diff --git a/Misc/NEWS b/Misc/NEWS
index e2e9683..e89b789 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -86,6 +86,9 @@ Library
which indicates whether output is intended for the header 'Q'
encoding.
+- The SocketServer.ThreadingMixIn class now closes the request after
+ finish_request() returns. (Not when it errors out though.)
+
Tools/Demos
- Demo/dns was removed. It no longer serves any purpose; a package