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
e45b10ca
Commit
e45b10ca
authored
Aug 25, 2019
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove error handling which does not happen
parent
330fe124
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
src/h2load_quic.cc
src/h2load_quic.cc
+3
-8
No files found.
src/h2load_quic.cc
View file @
e45b10ca
...
...
@@ -1019,7 +1019,9 @@ int Client::write_quic() {
auto
should_break
=
false
;
switch
(
nwrite
)
{
case
NGTCP2_ERR_STREAM_DATA_BLOCKED
:
if
(
ngtcp2_conn_get_max_data_left
(
quic
.
conn
)
==
0
)
{
case
NGTCP2_ERR_STREAM_SHUT_WR
:
if
(
nwrite
==
NGTCP2_ERR_STREAM_DATA_BLOCKED
&&
ngtcp2_conn_get_max_data_left
(
quic
.
conn
)
==
0
)
{
return
0
;
}
...
...
@@ -1028,13 +1030,6 @@ int Client::write_quic() {
}
should_break
=
true
;
break
;
case
NGTCP2_ERR_EARLY_DATA_REJECTED
:
case
NGTCP2_ERR_STREAM_SHUT_WR
:
case
NGTCP2_ERR_STREAM_NOT_FOUND
:
// This means that stream is
// closed.
assert
(
0
);
// TODO Perhaps, close stream or this should not happen?
break
;
case
NGTCP2_ERR_WRITE_STREAM_MORE
:
assert
(
ndatalen
>
0
);
if
(
s
->
add_write_offset
(
stream_id
,
ndatalen
)
!=
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