Commit 500c5eea authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Rename Http2Upstream::add_downstream as add_pending_downstream

parent 83a39f5b
......@@ -276,7 +276,7 @@ int on_begin_headers_callback(nghttp2_session *session,
frame->hd.stream_id,
0);
upstream->add_downstream(downstream);
upstream->add_pending_downstream(downstream);
downstream->init_upstream_timer();
downstream->reset_upstream_rtimer();
downstream->init_response_body_buf();
......@@ -1169,7 +1169,7 @@ bufferevent_event_cb Http2Upstream::get_downstream_eventcb()
return downstream_eventcb;
}
void Http2Upstream::add_downstream(Downstream *downstream)
void Http2Upstream::add_pending_downstream(Downstream *downstream)
{
downstream_queue_.add_pending(downstream);
}
......
......@@ -54,7 +54,7 @@ public:
virtual bufferevent_data_cb get_downstream_readcb();
virtual bufferevent_data_cb get_downstream_writecb();
virtual bufferevent_event_cb get_downstream_eventcb();
void add_downstream(Downstream *downstream);
void add_pending_downstream(Downstream *downstream);
void remove_downstream(Downstream *downstream);
Downstream* find_downstream(int32_t stream_id);
......
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