We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4536801 commit 103f87fCopy full SHA for 103f87f
src/net/tootallnate/websocket/drafts/Draft_10.java
@@ -114,8 +114,10 @@ else if( payloadlength == 126 ){
114
}
115
116
int maskskeystart = foff + realpacketsize;
117
- int payloadstart = foff + realpacketsize += ( MASK ? 4 : 0 );
+ realpacketsize += ( MASK ? 4 : 0 );
118
+ int payloadstart = foff + realpacketsize;
119
realpacketsize += payloadlength;
120
+
121
if( maxpacketsize < realpacketsize )
122
throw new IncompleteException( realpacketsize );
123
0 commit comments