From 891d751af2f865f5b188a2b6b2f6aa0e6fc03334 Mon Sep 17 00:00:00 2001 From: benoitc Date: Fri, 2 Apr 2010 02:09:37 +0200 Subject: [PATCH] use same close func in async --- gunicorn/async/base.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gunicorn/async/base.py b/gunicorn/async/base.py index 284a97f2..edcf9bd7 100644 --- a/gunicorn/async/base.py +++ b/gunicorn/async/base.py @@ -31,10 +31,6 @@ class KeepaliveResponse(http.Response): "Connection: %s\r\n" % connection_hdr ] - def close(self): - if self.chunked: - write_chunk(self.socket, "") - class KeepaliveRequest(http.Request): RESPONSE_CLASS = KeepaliveResponse