Show More
@@ -69,8 +69,7 b' class AllowDraftWebSocketHandler(WebSocketHandler):' | |||||
69 | self.stream.set_close_callback(self.on_connection_close) |
|
69 | self.stream.set_close_callback(self.on_connection_close) | |
70 |
|
70 | |||
71 | if self.request.headers.get("Sec-WebSocket-Version") in ("7", "8", "13"): |
|
71 | if self.request.headers.get("Sec-WebSocket-Version") in ("7", "8", "13"): | |
72 | self.ws_connection = WebSocketProtocol13( |
|
72 | self.ws_connection = WebSocketProtocol13(self) | |
73 | self, compression_options=self.get_compression_options()) |
|
|||
74 | self.ws_connection.accept_connection() |
|
73 | self.ws_connection.accept_connection() | |
75 | #--------------- BEGIN PATCH ---------------- |
|
74 | #--------------- BEGIN PATCH ---------------- | |
76 | elif (self.allow_draft76() and |
|
75 | elif (self.allow_draft76() and |
General Comments 0
You need to be logged in to leave comments.
Login now