From 24977c4f0b4b0e6ffc75bbb4cec0901609ac1c76 Mon Sep 17 00:00:00 2001 From: Artem Yushkovskiy Date: Mon, 6 May 2019 09:59:18 -0400 Subject: [PATCH 1/2] fix issue #3644 --- aiohttp/web_protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiohttp/web_protocol.py b/aiohttp/web_protocol.py index d44ddcdf048..0b51fba4580 100644 --- a/aiohttp/web_protocol.py +++ b/aiohttp/web_protocol.py @@ -106,7 +106,7 @@ class RequestHandler(BaseProtocol): """ KEEPALIVE_RESCHEDULE_DELAY = 1 - __slots__ = ('_request_count', '_keep_alive', '_manager', + __slots__ = ('_request_count', '_keepalive', '_manager', '_request_handler', '_request_factory', '_tcp_keepalive', '_keepalive_time', '_keepalive_handle', '_keepalive_timeout', '_lingering_time', '_messages', '_message_tail', From be3403bafa807d969f78aa980b64a4c1fa4bbffa Mon Sep 17 00:00:00 2001 From: Artem Yushkovskiy Date: Mon, 6 May 2019 10:04:46 -0400 Subject: [PATCH 2/2] Reflect bufix in changes.rst --- CHANGES/3644.bugfix | 1 + 1 file changed, 1 insertion(+) create mode 100644 CHANGES/3644.bugfix diff --git a/CHANGES/3644.bugfix b/CHANGES/3644.bugfix new file mode 100644 index 00000000000..d124704c50a --- /dev/null +++ b/CHANGES/3644.bugfix @@ -0,0 +1 @@ +Fix _keepalive field in __slots__ of web_protocol.RequestHandler.