-
Notifications
You must be signed in to change notification settings - Fork 18k
x/net/http2: invalid Connection request header #23699
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
Comments
What is your issue? How did you get this error? HTTP/2 doesn't have connection-level headers, like the other bug says. |
@bradfitz I made a proxy for some urls example code https://gist.github.com/suconghou/50dd30df10bd6faa2abe1805afe3216f notice it works well then you use chrome , because chrome send but some other software and services may send use |
please replace this
with
in |
Please read https://httpwg.org/specs/rfc7230.html#rfc.section.6.1
I don't know why Go accepts I think it is better to use |
Doesn't it makes sense to handle this transparently? For me it sounds really weird to argue you should use |
Change https://golang.org/cl/122588 mentions this issue: |
I meet the error and found the issue here
#15422
and the source code
https://github.com/golang/net/blob/6972930/http2/transport.go#L626-L634
as it said the
keep-alive
is validbut why it is case-sensitive ,
many request failed due to
Keep-Alive
headerdoes HTTP/2 RFC say it must be case-sensitive ?
The text was updated successfully, but these errors were encountered: