Skip to content
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

Improve error when clients try bidi over HTTP/1.x #203

Merged
merged 1 commit into from
Apr 19, 2022
Merged

Conversation

akshayjshah
Copy link
Member

If a client mistakenly connects to an HTTP/1.x server and tries to start
a bidi stream, fail early with an explicit error message rather than
returning a cryptic, low-level error later on.

This came up most recently when @robbertvanginkel was using Connect, but
he wasn't the first.

If a client mistakenly connects to an HTTP/1.x server and tries to start
a bidi stream, fail early with an explicit error message rather than
returning a cryptic, low-level error later on.

This came up most recently when @robbertvanginkel was using Connect, but
he wasn't the first.
@akshayjshah akshayjshah merged commit 4151ebe into main Apr 19, 2022
@akshayjshah akshayjshah deleted the ajs/bidi branch April 19, 2022 14:49
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.

2 participants