-
-
Notifications
You must be signed in to change notification settings - Fork 293
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
Implement the extended CONNECT protocol from RFC 8441 #565
Conversation
d1ba660
to
547ed63
Compare
@seanmonstar I wrote "Reject |
For "Reject |
There is also no precedent for rejecting on the client side any malformed response, such as responses with |
Ah, we don't already do that? I guess practically that's fine... though it does say "Clients MUST NOT accept a malformed response." 🤷 |
25b4722
to
3a62294
Compare
I have a problem, which is that there is no way through neither |
e69cff0
to
f4720dc
Compare
We should (perhaps in separate PR) add a builder option that when enabled, sends the SETTINGS immediately without waiting for a request, and potentially |
Spec says “Receipt of this parameter by a server does not have any impact.” so shrug. |
d237342
to
6437eba
Compare
There is now a client test that checks that we properly send |
I renamed the extension type to just |
cfd09e9
to
821ad0c
Compare
I added a test that a client rejects the setting being changed from 1 to 0, but h2 still acknowledges the new settings just before rejecting them. |
I could make |
I've decided to not implement new user error cases on the client side given there are none for normal connect requests either anyway. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks great! Everything looks taken care of, all the situations have tests. Impressive!
I'll leave merging up to you if there's anything you want to finish. |
No description provided.