MediaBrowser / SocketHttpListener

A standalone HttpListener with support for SSL, WebSockets and Mono
MIT License
42 stars 14 forks source link

Add large data test. #3

Closed jabbera closed 9 years ago

jabbera commented 9 years ago

This is a failing test. If you use SendAsync to send over 1016 bytes of binary data the result presented to the client from the WebSocket4Net library is incorrect.

Only the first 1016 bytes of the array is populated. The bug can be seen plain as day in:

https://github.com/kerryjiang/WebSocket4Net/blob/master/WebSocket4Net/WebSocketCommandInfo.cs#L123