Fix binary websocket connections
This commit is contained in:
parent
159e10d676
commit
2169e1beb9
|
@ -586,7 +586,7 @@ class WebSocketProtocol13(WebSocketProtocol):
|
||||||
self._run_callback(self.handler.on_message, decoded)
|
self._run_callback(self.handler.on_message, decoded)
|
||||||
elif opcode == 0x2:
|
elif opcode == 0x2:
|
||||||
# Binary data
|
# Binary data
|
||||||
self._run_callback(self.handler.on_message, decoded)
|
self._run_callback(self.handler.on_message, data)
|
||||||
elif opcode == 0x8:
|
elif opcode == 0x8:
|
||||||
# Close
|
# Close
|
||||||
self.client_terminated = True
|
self.client_terminated = True
|
||||||
|
|
Loading…
Reference in New Issue