diff options
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() |