Skip to content

Conversation

cloneable
Copy link
Contributor

This exposes the :protocol pseudo header as Request extension.

Fixes #347

This exposes the :protocol pseudo header as Request extension.

Fixes #347
@seanmonstar seanmonstar requested a review from nox December 28, 2022 16:39
@cloneable
Copy link
Contributor Author

@nox, have you had a chance to look at this?

@cloneable
Copy link
Contributor Author

@seanmonstar, looks like @nox hasn't been active for months now. Can you recommend another reviewer?
Btw, how does the following even work in hyper without this PR?
https://github.com/hyperium/hyper/blob/5bf16402f7a146417a9f997387401f9dc5a7d63d/src/proto/h2/server.rs#L291-L293

@seanmonstar
Copy link
Member

how does the following even work in hyper without this PR?

Hm, well, the code itself is just conditional, if the extension exists, replace it with another. So it never fails. But I imagine we don't have a test anywhere that it ever succeeds, either. Would be worth making one, I think. I'll review this shortly.

@seanmonstar seanmonstar merged commit b84c244 into hyperium:master Jan 20, 2023
@cloneable cloneable deleted the feature/expose-protocol-extension branch January 20, 2023 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support WebSocket upgrade
2 participants