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
a483105e
Commit
a483105e
authored
Nov 04, 2013
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nghttpx: Set read/write timeout for HTTP/2 backend as well
parent
0d6faa74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/shrpx_spdy_session.cc
src/shrpx_spdy_session.cc
+3
-1
No files found.
src/shrpx_spdy_session.cc
View file @
a483105e
...
...
@@ -475,7 +475,9 @@ int SpdySession::initiate_connection()
bufferevent_setwatermark
(
bev_
,
EV_READ
,
0
,
SHRPX_READ_WARTER_MARK
);
bufferevent_enable
(
bev_
,
EV_READ
);
bufferevent_setcb
(
bev_
,
readcb
,
writecb
,
eventcb
,
this
);
// No timeout for SPDY session
// Set timeout for SPDY session
bufferevent_set_timeouts
(
bev_
,
&
get_config
()
->
downstream_read_timeout
,
&
get_config
()
->
downstream_write_timeout
);
// We have been already connected when no TLS and proxy is used.
if
(
state_
!=
CONNECTED
)
{
...
...
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