-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let header validator find host header field when :authority pseudo-h…
…eader field is missing (#324) Motivation: Some proxy server sends target host name and port number in host header field instead of using :authority pseudo-header field. According to the HTTP/3 spec, this is a valid way to send the target endpoint, but current header validator checks only :authority header. It causes false-positive request validation errors. Modifications: Class Http3HeadersSink checks if host header field exists when :authority pseudo-header is missing in the request. Result: No false-positive request validation errors.
- Loading branch information
1 parent
a5c2df7
commit 8ee0949
Showing
3 changed files
with
79 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters