Skip to content

Commit

Permalink
Log websocket bad protocol version
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed May 5, 2016
1 parent eac475d commit 3d081f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/geventwebsocket/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def upgrade_websocket(self):

if self.request_version != 'HTTP/1.1':
self.start_response('402 Bad Request', [])
self.logger.warning("Bad server protocol in headers")
self.logger.warning("Bad server protocol in headers: %s" % self.request_version)

return ['Bad protocol version']

Expand Down

0 comments on commit 3d081f6

Please sign in to comment.