summaryrefslogtreecommitdiff
path: root/wsgitools
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2023-06-18 12:25:19 +0200
committerHelmut Grohne <helmut@subdivi.de>2023-06-18 18:25:25 +0200
commit7c20ce632e6f50c8c64708fb9b0d335feba095d6 (patch)
tree5979ce78646dfe77e23ea37176f56188fed08acb /wsgitools
parent253347e6177fa86bad32dd919f1768e5c2d6f96c (diff)
downloadwsgitools-7c20ce632e6f50c8c64708fb9b0d335feba095d6.tar.gz
add testcase for scgi.asynchronous and fix reusesocket
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"""