mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
response has no socket object but request has. bug detected while
running longpoll test.
This commit is contained in:
parent
40e5751fb7
commit
0c26280486
@ -56,7 +56,7 @@ class Response(object):
|
|||||||
if not self.headers_sent:
|
if not self.headers_sent:
|
||||||
self.send_headers()
|
self.send_headers()
|
||||||
if self.chunked:
|
if self.chunked:
|
||||||
write_chunk(self.socket, "")
|
write_chunk(self.req.socket, "")
|
||||||
|
|
||||||
class KeepAliveResponse(Response):
|
class KeepAliveResponse(Response):
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user