diff options
author | Helmut Grohne <helmut@subdivi.de> | 2008-03-02 14:28:44 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2008-03-02 14:28:44 +0100 |
commit | 6e561400299978c7d7b0a3558a13c3cbe5f82578 (patch) | |
tree | bcf45410ef98920568c1cf5096217bb4c5f13360 /wsgitools | |
parent | da7964ce7cbdc0e28c4558caabcf36d384253ed1 (diff) | |
download | wsgitools-6e561400299978c7d7b0a3558a13c3cbe5f82578.tar.gz |
fixed silly POST bug in scgi.forkpool
Diffstat (limited to 'wsgitools')
-rw-r--r-- | wsgitools/scgi/forkpool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wsgitools/scgi/forkpool.py b/wsgitools/scgi/forkpool.py index 44dd362..8171172 100644 --- a/wsgitools/scgi/forkpool.py +++ b/wsgitools/scgi/forkpool.py @@ -17,7 +17,7 @@ class SocketFileWrapper: except: raise # Yes, this is necessary. else: self.buff = "" - if size >= len(self.buff): + if size <= len(self.buff): ret, self.buff = self.buff[:size], self.buff[size:] return ret try: |