Merge pull request #1422 from ashleysommer/server_slots

Add in some server.py __slots__ attribute names that are missing.
This commit is contained in:
7 2018-12-15 13:58:22 -08:00 committed by GitHub
commit fa7405fe9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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__(