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
3c4449c0
Commit
3c4449c0
authored
Nov 10, 2021
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nghttpx: Use nghttp3 error code
parent
918e4ea4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/shrpx_http3_upstream.cc
src/shrpx_http3_upstream.cc
+2
-2
No files found.
src/shrpx_http3_upstream.cc
View file @
3c4449c0
...
...
@@ -2072,7 +2072,7 @@ int Http3Upstream::http_end_request_headers(Downstream *downstream) {
// For HTTP/2 proxy, we require :authority.
if
(
method_token
!=
HTTP_CONNECT
&&
config
->
http2_proxy
&&
faddr
->
alt_mode
==
UpstreamAltMode
::
NONE
&&
!
authority
)
{
shutdown_stream
(
downstream
,
NGHTTP
2
_PROTOCOL_ERROR
);
shutdown_stream
(
downstream
,
NGHTTP
3_H3_GENERAL
_PROTOCOL_ERROR
);
return
0
;
}
...
...
@@ -2283,7 +2283,7 @@ int Http3Upstream::http_end_stream(Downstream *downstream) {
if
(
downstream
->
end_upload_data
()
!=
0
)
{
if
(
downstream
->
get_response_state
()
!=
DownstreamState
::
MSG_COMPLETE
)
{
shutdown_stream
(
downstream
,
NGHTTP
2
_INTERNAL_ERROR
);
shutdown_stream
(
downstream
,
NGHTTP
3_H3
_INTERNAL_ERROR
);
}
}
...
...
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