From 06297a19186b86cfe4a2222af77c706a377ea944 Mon Sep 17 00:00:00 2001 From: Ashley Sommer Date: Mon, 3 Dec 2018 11:22:17 +1000 Subject: [PATCH] Add in some server.py __slots__ property names that are missing. --- sanic/server.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sanic/server.py b/sanic/server.py index dc197941..ceefa4df 100644 --- a/sanic/server.py +++ b/sanic/server.py @@ -62,6 +62,7 @@ class HttpProtocol(asyncio.Protocol): "request_class", "is_request_stream", "router", + "error_handler", # enable or disable access log purpose "access_log", # connection management @@ -73,6 +74,12 @@ class HttpProtocol(asyncio.Protocol): "_last_response_time", "_is_stream_handler", "_not_paused", + "_request_handler_task", + "_request_stream_task", + "_keep_alive", + "_header_fragment", + "state", + "_debug", ) def __init__(