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
7a84d51a
Commit
7a84d51a
authored
May 28, 2016
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into http-parser-unknown-method
parents
f90f40e3
f68dc02d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
src/shrpx_connection.cc
src/shrpx_connection.cc
+0
-3
src/shrpx_connection.h
src/shrpx_connection.h
+0
-3
src/shrpx_http_downstream_connection.cc
src/shrpx_http_downstream_connection.cc
+4
-2
No files found.
src/shrpx_connection.cc
View file @
7a84d51a
...
...
@@ -61,9 +61,6 @@ Connection::Connection(struct ev_loop *loop, int fd, SSL *ssl,
:
tls
{
DefaultMemchunks
(
mcpool
),
DefaultPeekMemchunks
(
mcpool
)},
wlimit
(
loop
,
&
wev
,
write_limit
.
rate
,
write_limit
.
burst
),
rlimit
(
loop
,
&
rev
,
read_limit
.
rate
,
read_limit
.
burst
,
this
),
writecb
(
writecb
),
readcb
(
readcb
),
timeoutcb
(
timeoutcb
),
loop
(
loop
),
data
(
data
),
fd
(
fd
),
...
...
src/shrpx_connection.h
View file @
7a84d51a
...
...
@@ -125,9 +125,6 @@ struct Connection {
ev_timer
rt
;
RateLimit
wlimit
;
RateLimit
rlimit
;
IOCb
writecb
;
IOCb
readcb
;
TimerCb
timeoutcb
;
struct
ev_loop
*
loop
;
void
*
data
;
int
fd
;
...
...
src/shrpx_http_downstream_connection.cc
View file @
7a84d51a
...
...
@@ -957,7 +957,8 @@ int HttpDownstreamConnection::tls_handshake() {
connect_blocker
->
on_success
();
conn_
.
timeoutcb
=
timeoutcb
;
ev_set_cb
(
&
conn_
.
rt
,
timeoutcb
);
ev_set_cb
(
&
conn_
.
wt
,
timeoutcb
);
do_read_
=
&
HttpDownstreamConnection
::
read_tls
;
do_write_
=
&
HttpDownstreamConnection
::
write_tls
;
...
...
@@ -1136,7 +1137,8 @@ int HttpDownstreamConnection::connected() {
connect_blocker
->
on_success
();
conn_
.
timeoutcb
=
timeoutcb
;
ev_set_cb
(
&
conn_
.
rt
,
timeoutcb
);
ev_set_cb
(
&
conn_
.
wt
,
timeoutcb
);
do_read_
=
&
HttpDownstreamConnection
::
read_clear
;
do_write_
=
&
HttpDownstreamConnection
::
write_clear
;
...
...
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