Skip to content

Commit be7b868

Browse files
LMattssonCendioOssman
authored andcommitted
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.
1 parent 4695f96 commit be7b868

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

websockify/websocketserver.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ def handle_upgrade(self):
8484
self.send_error(400, str(exc))
8585
return
8686

87-
self.log_request(101)
88-
8987
self.request = websocket
9088

9189
# Other requests cannot follow Websocket data

0 commit comments

Comments
 (0)