Weird websocket behavior: only send data when close the tab

后端 未结 1 1547
暖寄归人
暖寄归人 2021-01-25 06:34

have you ever encountered this weird situation. I\'m playing with libwebsocket provided by warmcat.com newest version to support chrome 20. THe connection was opened correctly w

相关标签:
1条回答
  • 2021-01-25 07:19

    I have been experiencing this issue for the last 6 months or so, it started randomly one day, affecting all standard browsers on my local windows machine.

    9/10 times a WebSocket connects data only flows one direction, I have tried installing many browsers and they all do the same. My only solution is to use any browser running in a linux virtual machine.

    Interestingly enough, now that the latest Webkit browser that is embedded into the Source game engine has been updated, it works perfectly with WebSockets in the game (even though the Webkit Chrome is using on the same machine does not)

    My only conclusion is that this is some very strange Windows bug and the only solution is to format!

    0 讨论(0)
提交回复
热议问题