We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This proposes adding an option to the h2::server::Builder config such that it sends the ORIGIN frame to connections.
h2::server::Builder
origin
(Scheme, Authority)
http
src/frame/origin.rs
src/proto/connection.rs
Connection
Option<Origin>
SETTINGS
The text was updated successfully, but these errors were encountered:
cc @piscisaureus
Sorry, something went wrong.
@lucacasonato This would work for us right? AFAICT there would be no need to send the ORIGIN frame after processing the first request.
Yeah, this looks good. We can determine the value of the ORIGIN frame based on an SNI field in the TLS handshake.
I have no preference between strings and (Scheme, Authority).
No branches or pull requests
This proposes adding an option to the
h2::server::Builder
config such that it sends the ORIGIN frame to connections.origin
is added to the h2::server::Builder` struct.(Scheme, Authority)
tuples, since we have those types in thehttp
crate.src/frame/origin.rs
.src/proto/connection.rs
file such thatConnection
has anOption<Origin>
, and if set, is written after the initialSETTINGS
frame.The text was updated successfully, but these errors were encountered: