From a70bd0679389a2cac769c1fa7842a099df7d8b1a 2014-11-16 01:07:51 From: Min RK Date: 2014-11-16 01:07:51 Subject: [PATCH] Merge pull request #6951 from ccordoba12/fix-draft76 Websockets are not started correctly on QtWebKit 4 --- diff --git a/IPython/html/allow76.py b/IPython/html/allow76.py index 327fd8b..67e87e8 100644 --- a/IPython/html/allow76.py +++ b/IPython/html/allow76.py @@ -69,8 +69,7 @@ class AllowDraftWebSocketHandler(WebSocketHandler): self.stream.set_close_callback(self.on_connection_close) if self.request.headers.get("Sec-WebSocket-Version") in ("7", "8", "13"): - self.ws_connection = WebSocketProtocol13( - self, compression_options=self.get_compression_options()) + self.ws_connection = WebSocketProtocol13(self) self.ws_connection.accept_connection() #--------------- BEGIN PATCH ---------------- elif (self.allow_draft76() and