nghttpx: Fix stream handling of upgraded request
This commit is contained in:
parent
2fb675f13c
commit
83a39f5b49
|
@ -138,7 +138,8 @@ int Http2Upstream::upgrade_upstream(HttpsUpstream *http)
|
||||||
pre_upstream_.reset(http);
|
pre_upstream_.reset(http);
|
||||||
http->pop_downstream();
|
http->pop_downstream();
|
||||||
downstream->reset_upstream(this);
|
downstream->reset_upstream(this);
|
||||||
add_downstream(downstream);
|
downstream->set_stream_id(1);
|
||||||
|
downstream_queue_.add_active(downstream);
|
||||||
downstream->init_upstream_timer();
|
downstream->init_upstream_timer();
|
||||||
downstream->reset_upstream_rtimer();
|
downstream->reset_upstream_rtimer();
|
||||||
downstream->init_response_body_buf();
|
downstream->init_response_body_buf();
|
||||||
|
|
Loading…
Reference in New Issue