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:
parent
4695f96728
commit
be7b868518
|
|
@ -84,8 +84,6 @@ class WebSocketRequestHandlerMixIn:
|
||||||
self.send_error(400, str(exc))
|
self.send_error(400, str(exc))
|
||||||
return
|
return
|
||||||
|
|
||||||
self.log_request(101)
|
|
||||||
|
|
||||||
self.request = websocket
|
self.request = websocket
|
||||||
|
|
||||||
# Other requests cannot follow Websocket data
|
# Other requests cannot follow Websocket data
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue