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

http2 request failed #2285

Closed
zffocussss opened this issue Feb 26, 2024 · 3 comments
Closed

http2 request failed #2285

zffocussss opened this issue Feb 26, 2024 · 3 comments

Comments

@zffocussss
Copy link

Hi guys:
we are using the kong application gateway which is built with openrest and other plugins.but requests failed due to http2 request.

if (r->main->stream && r->headers_in.content_length_n < 0) {

@ZJfans
Copy link
Contributor

ZJfans commented Feb 26, 2024

check if your request has content-length header

@zffocussss
Copy link
Author

check if your request has content-length header

content-length request header is not sent.It is not mandatory with the http2.

@oowl
Copy link
Contributor

oowl commented Feb 26, 2024

Please check the context in #2237 and #2172

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

No branches or pull requests

4 participants