nghttpx: Rename Http2Upstream::add_downstream as add_pending_downstream
This commit is contained in:
parent
83a39f5b49
commit
500c5eea56
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue