From c1e84cb32296d9e448df1e9cabcc5312a85fb5fe Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Wed, 8 Jul 2015 09:35:20 +0200 Subject: use websockets protocol --- libpathod/pathod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpathod/pathod.py') diff --git a/libpathod/pathod.py b/libpathod/pathod.py index 148fa7b2..daad64be 100644 --- a/libpathod/pathod.py +++ b/libpathod/pathod.py @@ -280,7 +280,7 @@ class PathodHandler(tcp.BaseHandler): retlog["cipher"] = self.get_current_cipher() m = utils.MemBool() - websocket_key = websockets.check_client_handshake(headers) + websocket_key = websockets.WebsocketsProtocol.check_client_handshake(headers) self.settings.websocket_key = websocket_key # If this is a websocket initiation, we respond with a proper -- cgit v1.2.3