Skip to content

Commit f1f060e

Browse files
authored
Merge pull request #148 from watson-developer-cloud/FragmentSize
HOTFIX: Increased fragment to max size for now.
2 parents 04b95ef + ab5d5b5 commit f1f060e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ThirdParty/WebSocketSharp/WebSocket.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public class WebSocket : IDisposable
148148
static WebSocket ()
149149
{
150150
EmptyBytes = new byte[0];
151-
FragmentLength = 1016;
151+
FragmentLength = Int32.MaxValue - 14; // 1016
152152
RandomNumber = new RNGCryptoServiceProvider ();
153153
}
154154

0 commit comments

Comments
 (0)