Messages lost or combined while connecting to IIS WebSocket server

Mar 20, 2014 at 4:07 AM
Hi,

I am implementing custom client transport to communicate with Microsoft IIS WebSocket server. I am using RFC6455 websocket version while creating websocket connection. What I discovered that some messages get cutoff (i.e. missing some bytes at the end) or some messages combined together if there is some load (about 2-3 messages per second).
This manifests itself as WebSocketOnMessageReceived(MessageReceivedEventArgs.Message) string no being what expected.

However if I run same code connected using SSL (wss://) connection everything working fine.

I suspect there is bug with normal stream handling. Can you please look into that?
Coordinator
Mar 20, 2014 at 4:13 AM
Could you provide a NUNit test case for that, you'd better run a standalone websocket server in your test code.