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
19fb74b0
Commit
19fb74b0
authored
Jul 24, 2019
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Always call write_quic when timer expires
parent
5b788f52
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
src/h2load_quic.cc
src/h2load_quic.cc
+2
-7
No files found.
src/h2load_quic.cc
View file @
19fb74b0
...
...
@@ -911,7 +911,6 @@ void quic_pkt_timeout_cb(struct ev_loop *loop, ev_timer *w, int revents) {
int
Client
::
quic_pkt_timeout
()
{
int
rv
;
auto
now
=
timestamp
(
worker
->
loop
);
auto
should_write
=
false
;
if
(
ngtcp2_conn_loss_detection_expiry
(
quic
.
conn
)
<=
now
)
{
rv
=
ngtcp2_conn_on_loss_detection_timer
(
quic
.
conn
,
now
);
...
...
@@ -919,16 +918,12 @@ int Client::quic_pkt_timeout() {
quic
.
last_error
=
quic
::
err_transport
(
NGTCP2_ERR_INTERNAL
);
return
-
1
;
}
should_write
=
true
;
}
if
(
ngtcp2_conn_ack_delay_expiry
(
quic
.
conn
)
<=
now
)
{
ngtcp2_conn_cancel_expired_ack_delay_timer
(
quic
.
conn
,
now
);
should_write
=
true
;
}
if
(
should_write
)
{
return
write_quic
();
}
return
0
;
}
void
Client
::
quic_restart_pkt_timer
()
{
...
...
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