Commit 83a39f5b authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Fix stream handling of upgraded request

parent 2fb675f1
......@@ -138,7 +138,8 @@ int Http2Upstream::upgrade_upstream(HttpsUpstream *http)
pre_upstream_.reset(http);
http->pop_downstream();
downstream->reset_upstream(this);
add_downstream(downstream);
downstream->set_stream_id(1);
downstream_queue_.add_active(downstream);
downstream->init_upstream_timer();
downstream->reset_upstream_rtimer();
downstream->init_response_body_buf();
......
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