You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not saying doing the HTTP/1 parts of the upgrade, but after someone has started an upgrade, there is no way to tell h2 to continue with it.
A way to encode and decode a SETTINGS frame as base64url.
Perhaps for encoding, this could just be part of the client::Builder. With some settings set on the builder, builder.as_base64(&self) -> String or something could allow someone to send the HTTP2-Settings header.
For decoding, perhaps it could be part of a new handshake method on the server::Builder: builder.handshake_upgrade(io, base64settings)
A way to tell the client and server that the stream 1 is half-closed, and a response is expected.
The client could also get a handshake_upgrade method that returns a triple of (Connection, SendRequest, ResponseFuture).
The suggested handshake_upgrade for the server could return a (Connection, SendResponse).
The text was updated successfully, but these errors were encountered:
@lucab probably not that issue specifically in hyper, but for h2, it wouldn't matter what created the connection and did the HTTP/1 request and received the 101 response, but after that point, you'd hand the connection to h2.
FWIW, I have been working on this, and am close to a PR.
I'm not saying doing the HTTP/1 parts of the upgrade, but after someone has started an upgrade, there is no way to tell h2 to continue with it.
SETTINGS
frame as base64url.client::Builder
. With some settings set on the builder,builder.as_base64(&self) -> String
or something could allow someone to send theHTTP2-Settings
header.server::Builder
:builder.handshake_upgrade(io, base64settings)
1
is half-closed, and a response is expected.handshake_upgrade
method that returns a triple of(Connection, SendRequest, ResponseFuture)
.handshake_upgrade
for the server could return a(Connection, SendResponse)
.The text was updated successfully, but these errors were encountered: