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