Merge pull request #30434 from Faless/ws/wslay_fix_handshake_break

Fix WebSocketClient consuming data during hanshake
This commit is contained in:
Rémi Verschelde 2019-07-09 08:28:01 +02:00 committed by GitHub
commit dcffa0ee64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}