nghttpx: Reset upstream timer on upgrade

This commit is contained in:
Tatsuhiro Tsujikawa 2014-08-15 10:29:46 +09:00
parent 30fa6d24d0
commit da08ba5d50
1 changed files with 2 additions and 0 deletions

View File

@ -139,6 +139,8 @@ int Http2Upstream::upgrade_upstream(HttpsUpstream *http)
http->pop_downstream();
downstream->reset_upstream(this);
add_downstream(downstream);
downstream->init_upstream_timer();
downstream->reset_upstream_rtimer();
downstream->init_response_body_buf();
downstream->set_stream_id(1);
downstream->set_priority(0);