开发者

Draft10 websocket aggregating two client messages into one message on nodejs

开发者 https://www.devze.com 2023-04-04 18:42 出处:网络
I\'m having a problem with draft10 websockets in chrome 14+.When two messages get sent from the client very quickly in succession, they end up as one message on my nodejs sever instance (using https w

I'm having a problem with draft10 websockets in chrome 14+. When two messages get sent from the client very quickly in succession, they end up as one message on my nodejs sever instance (using https with upgrade).

I am trying to make my own websocket server that supports both 75/76 and 10. I can demask messages when sent in isolation from 10, but when sent together the masking is off on the second message.

Are websockets draf开发者_如何学Ct10 known to combine messages sent in quick succession? Or is this an anomaly?

Is there a special character that is sent when the messages are combined into one such that you can parse them out and reset the mask/frame?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号