Commit d0a8507a authored by zhujiashun's avatar zhujiashun Committed by gejun

Fix h2 ut of ping

parent b8bc2bc0
...@@ -204,7 +204,6 @@ protected: ...@@ -204,7 +204,6 @@ protected:
butil::Status st = socket_message->AppendAndDestroySelf(out, _h2_client_sock.get()); butil::Status st = socket_message->AppendAndDestroySelf(out, _h2_client_sock.get());
ASSERT_TRUE(st.ok()); ASSERT_TRUE(st.ok());
*h2_stream_id = h2_req->_stream_id; *h2_stream_id = h2_req->_stream_id;
h2_req->DestroyStreamUserData(_h2_client_sock, cntl, 0, false);
} }
void MakeH2EchoResponseBuf(butil::IOBuf* out, int h2_stream_id) { void MakeH2EchoResponseBuf(butil::IOBuf* out, int h2_stream_id) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment