-
-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
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
Add option to send ORIGIN frame #632
Comments
@lucacasonato |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: