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
75272a81
Commit
75272a81
authored
Jan 23, 2022
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h2load: Fix ngtcp2 callback error code
parent
809d5af4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/h2load_quic.cc
src/h2load_quic.cc
+3
-3
No files found.
src/h2load_quic.cc
View file @
75272a81
...
...
@@ -120,7 +120,7 @@ int stream_close(ngtcp2_conn *conn, uint32_t flags, int64_t stream_id,
}
if
(
c
->
quic_stream_close
(
stream_id
,
app_error_code
)
!=
0
)
{
return
-
1
;
return
NGTCP2_ERR_CALLBACK_FAILURE
;
}
return
0
;
}
...
...
@@ -140,7 +140,7 @@ int stream_reset(ngtcp2_conn *conn, int64_t stream_id, uint64_t final_size,
void
*
stream_user_data
)
{
auto
c
=
static_cast
<
Client
*>
(
user_data
);
if
(
c
->
quic_stream_reset
(
stream_id
,
app_error_code
)
!=
0
)
{
return
-
1
;
return
NGTCP2_ERR_CALLBACK_FAILURE
;
}
return
0
;
}
...
...
@@ -160,7 +160,7 @@ int stream_stop_sending(ngtcp2_conn *conn, int64_t stream_id,
void
*
stream_user_data
)
{
auto
c
=
static_cast
<
Client
*>
(
user_data
);
if
(
c
->
quic_stream_stop_sending
(
stream_id
,
app_error_code
)
!=
0
)
{
return
-
1
;
return
NGTCP2_ERR_CALLBACK_FAILURE
;
}
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