-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
HTTP/3: SocketsHttpHandler.ConnectCallback #48617
Comments
Tagging subscribers to this area: @dotnet/ncl Issue DetailsI looked at the source for SocketsHttpHandler and it doesn't appear to use ConnectCallback when making a HTTP/3 connection.
|
Yeah, this is not implemented yet. What specific capability are you looking for here? Because HTTP3 works on top of QUIC, this specific callback can't support replacing the QUIC connection -- it works in terms of Stream. If the desire here is to control the establishment of the QUIC connection, then we would need a new API like QuicConnectCallback. However, there is currently no equivalent of Stream for QUIC, that is, an abstraction for a multiplexed connection. That means you couldn't replace the QUIC connection with an arbitrary implementation, which limits the usefulness of this. |
I was thinking about it in the context of #45246 (comment) |
In practice, just making a "GET /" would be just as good for establishing the connection without a meaningful request right? |
Triage: we should have this in 6.0 |
Hi Triage, What specific capability are you looking for here? See my comment above. |
Triage: We believe this is not technically possible, closing. |
@karelz we should have a |
Is that even feasible @scalablecory? For h1/2 you can get back Stream but I don't think that is sufficient for QUIC. |
Right, the existing callback does not work. But, we still need a new one to enable that same functionality for QUIC, for the same reasons as the current callback existing. An idea (we've talked about this a few times before) to explore for this:
|
I looked at the source for SocketsHttpHandler and it doesn't appear to use ConnectCallback when making a HTTP/3 connection.
The text was updated successfully, but these errors were encountered: