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

Semantics: 7.8 Upgrade #743

Closed
wenbozhu opened this issue Feb 6, 2021 · 6 comments · Fixed by #764
Closed

Semantics: 7.8 Upgrade #743

wenbozhu opened this issue Feb 6, 2021 · 6 comments · Fixed by #764

Comments

@wenbozhu
Copy link

wenbozhu commented Feb 6, 2021

Clarify if the request needs to be the 1st request after a connection is opened.

@reschke
Copy link
Contributor

reschke commented Feb 6, 2021

Is there a reason why you ask? Are there problems when it's not the 1st request?

@wtarreau
Copy link

wtarreau commented Feb 7, 2021

I'm not aware of any such problem, and for example in haproxy we do support upgrades anywhere.

@wenbozhu
Copy link
Author

wenbozhu commented Feb 9, 2021

Just a question I had .. which I feel the spec may want to call it out, either 1st request only or no such restriction.

@mnot
Copy link
Member

mnot commented Feb 10, 2021

Nothing in HTTP depends on where a request is placed upon a connection, because it's a stateless protocol. see last paragraph here (this is likely to move to connections soon, which is more appropriate.

Should we spell this out more clearly there?

@wtarreau
Copy link

Probably, it never hurts to remind it.

@wenbozhu
Copy link
Author

I see the case for proxies to reuse and upgrade an existing connection to the server. Mentioning this will encourage correct server implementations.

@mnot mnot self-assigned this Feb 10, 2021
mnot added a commit that referenced this issue Feb 11, 2021
@mnot mnot closed this as completed in #764 Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

4 participants