Commit 93c35ba9 authored by zhujiashun's avatar zhujiashun

fix wrong pointer in processing http response after h2goaway

parent 5ed518dd
......@@ -967,8 +967,8 @@ H2ParseResult H2Context::OnGoAway(
BTHREAD_ATTR_PTHREAD :
BTHREAD_ATTR_NORMAL);
tmp.keytable_pool = _socket->keytable_pool();
CHECK_EQ(0, bthread_start_background(
&th, &tmp, ProcessHttpResponseWrapper, goaway_streams[i]));
CHECK_EQ(0, bthread_start_background(&th, &tmp, ProcessHttpResponseWrapper,
static_cast<InputMessageBase*>(goaway_streams[i])));
}
return MakeH2Message(goaway_streams[0]);
} else {
......
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