Merge pull request #30434 from Faless/ws/wslay_fix_handshake_break
Fix WebSocketClient consuming data during hanshake
This commit is contained in:
commit
dcffa0ee64
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ void WSLClient::_do_handshake() {
|
|||
data->id = 1;
|
||||
_peer->make_context(data, _in_buf_size, _in_pkt_size, _out_buf_size, _out_pkt_size);
|
||||
_on_connect(protocol);
|
||||
break;
|
||||
}
|
||||
_resp_pos += 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue