Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
500c5eea
Commit
500c5eea
authored
Aug 18, 2014
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nghttpx: Rename Http2Upstream::add_downstream as add_pending_downstream
parent
83a39f5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/shrpx_http2_upstream.cc
src/shrpx_http2_upstream.cc
+2
-2
src/shrpx_http2_upstream.h
src/shrpx_http2_upstream.h
+1
-1
No files found.
src/shrpx_http2_upstream.cc
View file @
500c5eea
...
...
@@ -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
);
}
...
...
src/shrpx_http2_upstream.h
View file @
500c5eea
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment