summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2019-03-26 09:07:05 -0500
committerMichael Merickel <michael@merickel.org>2019-03-26 09:07:05 -0500
commit585c72aa0bc20d6043a4a78c1a60442b2be09d55 (patch)
tree82642b28a675fb094db708bafeb71441dac77a92
parentef1f87adaa966395a7ea3c7f68bcb7acf1eee694 (diff)
downloadwaitress-585c72aa0bc20d6043a4a78c1a60442b2be09d55.tar.gz
remove threading commentclose-app-iter-on-disconnect
-rw-r--r--waitress/channel.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/waitress/channel.py b/waitress/channel.py
index c625518..6416725 100644
--- a/waitress/channel.py
+++ b/waitress/channel.py
@@ -311,8 +311,6 @@ class HTTPChannel(wasyncore.dispatcher, object):
if not self.connected:
# if the socket is closed then interrupt the task so that it
# can cleanup possibly before the app_iter is exhausted
- # XXX a simple boolean check should not require a lock since it's
- # unidirectional (True -> False)
raise ClientDisconnected
if data:
# the async mainloop might be popping data off outbuf; we can