fix worker. status is a response thing. instead test if we got a status

line or if environ isn't empty.
This commit is contained in:
benoitc 2010-03-17 23:06:45 +01:00
parent 20c0f03843
commit 6845d10460
2 changed files with 1 additions and 3 deletions

View File

@ -1,2 +0,0 @@
arbiter = "egg:gunicorn#eventlet"
worker_connections = 1000

View File

@ -155,7 +155,7 @@ class Worker(object):
try:
environ = req.read()
if not environ or not req.parser.status:
if not environ or not req.parser.status_line:
return
response = self.app(environ, req.start_response)