summaryrefslogtreecommitdiff
path: root/wsgitools
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2009-02-01 00:53:23 +0100
committerHelmut Grohne <helmut@subdivi.de>2009-02-01 00:53:23 +0100
commitabba17cd18527a1ae92ab433c5236c1cd81e3eaa (patch)
tree7a0fdc2d8d0db43b10561be3493386c0d85b81fe /wsgitools
parente1f743fa71cf889cf2020f91bcfa4f491d3d3983 (diff)
downloadwsgitools-abba17cd18527a1ae92ab433c5236c1cd81e3eaa.tar.gz
wsgi compliance: scgi.asynchronous no longer holds data
Diffstat (limited to 'wsgitools')
-rw-r--r--wsgitools/scgi/asynchronous.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/wsgitools/scgi/asynchronous.py b/wsgitools/scgi/asynchronous.py
index 7ef10b9..9fedb87 100644
--- a/wsgitools/scgi/asynchronous.py
+++ b/wsgitools/scgi/asynchronous.py
@@ -156,8 +156,7 @@ class SCGIConnection(asyncore.dispatcher):
assert isinstance(data, str)
if data:
self.outbuff += data
- if len(self.outbuff) >= self.blocksize:
- break
+ break
if len(self.outbuff) == 0:
if hasattr(self.wsgihandler, "close"):
self.wsgihandler.close()