Add in some server.py __slots__ property names that are missing.

This commit is contained in:
Ashley Sommer 2018-12-03 11:22:17 +10:00
parent aa0874b6d8
commit 06297a1918

View File

@ -62,6 +62,7 @@ class HttpProtocol(asyncio.Protocol):
"request_class", "request_class",
"is_request_stream", "is_request_stream",
"router", "router",
"error_handler",
# enable or disable access log purpose # enable or disable access log purpose
"access_log", "access_log",
# connection management # connection management
@ -73,6 +74,12 @@ class HttpProtocol(asyncio.Protocol):
"_last_response_time", "_last_response_time",
"_is_stream_handler", "_is_stream_handler",
"_not_paused", "_not_paused",
"_request_handler_task",
"_request_stream_task",
"_keep_alive",
"_header_fragment",
"state",
"_debug",
) )
def __init__( def __init__(