mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 23:56:34 -04:00
Merge branch 'websocket-client-utf8fix' into qa
This commit is contained in:
commit
8290548e08
@ -201,7 +201,7 @@ class WebsockReceiverThread(threading.Thread):
|
||||
# in addition to its documented purpose, and must have a value to avoid
|
||||
# hangs in certain situations
|
||||
self.websock.run_forever(
|
||||
sockopt=((socket.IPPROTO_TCP, socket.TCP_NODELAY, 1),), ping_timeout=0.5
|
||||
sockopt=((socket.IPPROTO_TCP, socket.TCP_NODELAY, 1),), ping_timeout=0.5, skip_utf8_validation=True,
|
||||
)
|
||||
|
||||
def _on_message(self, websock, message):
|
||||
|
Loading…
x
Reference in New Issue
Block a user