mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
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:
parent
20c0f03843
commit
6845d10460
@ -1,2 +0,0 @@
|
||||
arbiter = "egg:gunicorn#eventlet"
|
||||
worker_connections = 1000
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user