summaryrefslogtreecommitdiff
path: root/wsgitools
diff options
context:
space:
mode:
Diffstat (limited to 'wsgitools')
-rw-r--r--wsgitools/scgi/asynchronous.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/wsgitools/scgi/asynchronous.py b/wsgitools/scgi/asynchronous.py
index 5354ced..0b014bf 100644
--- a/wsgitools/scgi/asynchronous.py
+++ b/wsgitools/scgi/asynchronous.py
@@ -255,6 +255,8 @@ class SCGIServer(asyncore.dispatcher):
self.set_reuse_addr()
self.bind((interface, port))
self.listen(5)
+ else:
+ self.accepting = True
def handle_accept(self):
"""asyncore interface"""