-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Corrupted message from IE11, Edge when the content is larger than 1MB and sent multiple times #15
Comments
It seems Edge is even more picky and crashes on everything above 0.25MB. |
Hi Peter! Thanks for report, I will check it. |
I tried the |
It is ping related. As temporary workaround you could disable pings with |
Your correct, are there any downsides to not having the ping? |
Without ping feature you wont notice lost client until TCP connection is terminated and error popped. TCP connection timeout varies from 30secs to 2mins, |
Could this happen if send and receive at the same time or is this a ping specific error? |
Somehow inbound data is being corrupted when ping is sent(or pong is received). Other operations are fine. |
Have you managed to find a solution for this issue? |
Actually my last investigations end up here - hoaproject/Websocket#33 (comment). |
But somehow default System.Net.WebSockets works fine with your example code. I will try to find implementation code for them. |
I'm using your
WebSocketListener
the following way:Then i have the following page
and the following javascript file:
If i in IE or Edge:
Select the
Random1MB.txt
and enter 10 in the count and press send it works.But if i use
Random1.5MB.txt
instead it crashes after 6 messages and the following is logged by theWebSocketListener
. (Also the content is corrupted.)Do you have any idea what is wrong, or what i could do about it? (I'm using IE11 and Edge, but it seems to work correctly in Chrome)
Example.zip
The text was updated successfully, but these errors were encountered: