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
7451f2f2
Commit
7451f2f2
authored
Nov 26, 2016
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nghttpx: Fix frequent crash with --backend-http-proxy-uri
parent
e9ab75a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
src/shrpx_http2_session.cc
src/shrpx_http2_session.cc
+10
-11
No files found.
src/shrpx_http2_session.cc
View file @
7451f2f2
...
...
@@ -481,22 +481,21 @@ int Http2Session::initiate_connection() {
}
}
write_
=
&
Http2Session
::
connected
;
on_write_
=
&
Http2Session
::
downstream_write
;
on_read_
=
&
Http2Session
::
downstream_read
;
// We have been already connected when no TLS and proxy is used.
if
(
state_
!=
CONNECTED
)
{
if
(
state_
==
PROXY_CONNECTED
)
{
return
connected
();
}
write_
=
&
Http2Session
::
connected
;
state_
=
CONNECTING
;
conn_
.
wlimit
.
startw
();
conn_
.
wt
.
repeat
=
downstreamconf
.
timeout
.
connect
;
ev_timer_again
(
conn_
.
loop
,
&
conn_
.
wt
);
}
else
{
conn_
.
rlimit
.
startw
();
conn_
.
again_rt
();
}
return
0
;
}
...
...
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