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:
committed by
Pierre Ossman
parent
4695f96728
commit
be7b868518
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user