Skip to content

Commit

Permalink
Update aiohttp/web_protocol.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Dec 1, 2024
1 parent 26d317b commit f0c647a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions aiohttp/web_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,7 @@ def __init__(
):
super().__init__(loop)

# _request_count is the number of request processed by the handler
# A new handler is created for each connection, so it is the number
# of requests processed by the connection.
# _request_count is the number of requests processed with the same connection.
self._request_count = 0
self._keepalive = False
self._current_request: Optional[_Request] = None
Expand Down

0 comments on commit f0c647a

Please sign in to comment.