response has no socket object but request has. bug detected while

running longpoll test.
This commit is contained in:
benoitc 2010-04-22 22:02:44 +02:00
parent 40e5751fb7
commit 0c26280486

View File

@ -56,7 +56,7 @@ class Response(object):
if not self.headers_sent:
self.send_headers()
if self.chunked:
write_chunk(self.socket, "")
write_chunk(self.req.socket, "")
class KeepAliveResponse(Response):