PingConnectionPingPong: bugfix

GitOrigin-RevId: 8280963e1bb8e817d9502cbaeecf89064a7c8f2c
This commit is contained in:
Arseny Smirnov 2019-06-04 18:52:26 +03:00
parent 5e25f9309e
commit 2ab9393a1d

View File

@ -93,6 +93,7 @@ class PingConnectionPingPong
PingConnectionPingPong(unique_ptr<RawConnection> raw_connection, unique_ptr<AuthData> auth_data)
: auth_data_(std::move(auth_data)) {
auth_data_->set_header("");
auth_data_->clear_seq_no();
connection_ =
make_unique<SessionConnection>(SessionConnection::Mode::Tcp, std::move(raw_connection), auth_data_.get());
}