Remove logging from handle_upgrade()

The logging should be handled directly in send_response() instead, which
is the default of Python's built-in send_response(). Remove this manual
logging to avoid logging the same call twice.
This commit is contained in:
Linn Mattsson 2022-10-11 07:31:56 +00:00 committed by Pierre Ossman
parent 4695f96728
commit be7b868518
1 changed files with 0 additions and 2 deletions

View File

@ -84,8 +84,6 @@ class WebSocketRequestHandlerMixIn:
self.send_error(400, str(exc))
return
self.log_request(101)
self.request = websocket
# Other requests cannot follow Websocket data