diff options
author | Helmut Grohne <helmut@subdivi.de> | 2009-02-01 00:53:23 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2009-02-01 00:53:23 +0100 |
commit | abba17cd18527a1ae92ab433c5236c1cd81e3eaa (patch) | |
tree | 7a0fdc2d8d0db43b10561be3493386c0d85b81fe /wsgitools/scgi/asynchronous.py | |
parent | e1f743fa71cf889cf2020f91bcfa4f491d3d3983 (diff) | |
download | wsgitools-abba17cd18527a1ae92ab433c5236c1cd81e3eaa.tar.gz |
wsgi compliance: scgi.asynchronous no longer holds data
Diffstat (limited to 'wsgitools/scgi/asynchronous.py')
-rw-r--r-- | wsgitools/scgi/asynchronous.py | 3 |
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() |