Skip to content
Snippets Groups Projects
Commit 219342a6 authored by George Nachman's avatar George Nachman
Browse files

Fix a bug when two websocket frames are read at once. The offset was not reset...

Fix a bug when two websocket frames are read at once. The offset was not reset so the second one got dropped.
parent 42760751
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -40,6 +40,7 @@
}];
if (!eof) {
[_data replaceBytesInRange:NSMakeRange(0, offset) withBytes:"" length:0];
offset = 0;
}
if (frame) {
if (_fragment) {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment