-
Notifications
You must be signed in to change notification settings - Fork 1k
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
HTTP/1 Clear Text Requests to HTTP/2 servers wait forever, if called with DELETE method and Body #4643
Comments
I also had this issue with "PUT", as I described on gitter / questions on Nov. 25 18:16 |
Can one of you attach an example |
check out https://github.com/volkerrichert/mnIssus4643 and run tests. It will fail on put. reorder test wit get first or switch to http 1.1 |
current test will fail with:
|
@volkerrichert the example works if you inject an HTTP/2 client
So the actually problem is HTTP 1.1 clients can't talk to an HTTP/2 server, that clears things up. Investigating... not sure if a bug yet. |
But why does it work after doing the GET - request first? This request shouldn't work also. Thats's stange. |
If this is the case, i would suggest a downgrade feature or something. Because at least in my case you rarely are aware of all the clients using your server and you are not in control of changing the clients. |
@volkerrichert there is a bug in the way the Netty channel is downgraded to HTTP/1.1 which I am looking into. But the root cause is attempting to send HTTP/1.1 requests over HTTP/2 @ckosmowski in this case the downgrade support is not working but only if the request has a body (like a It seems to be a core Netty issue because the |
@graemerocher Thank you for claryfiing. When |
Yes SSL uses a completely different codepath and doesn't involve |
This is fixed by #6300 for the test case by @volkerrichert (thanks!). I have not tested it with DELETE, but the patch should apply to any first request with a body. |
Thanks for reporting an issue, please review the task list below before submitting the
issue. Your issue report will be closed if the issue is incomplete and the below tasks not completed.
NOTE: If you are unsure about something and the issue is more of a question a better place to ask questions is on Stack Overflow (https://stackoverflow.com/tags/micronaut) or Gitter (https://gitter.im/micronautfw/). DO NOT use the issue tracker to ask questions.
Task List
Steps to Reproduce
Expected Behaviour
The routes will still respond correctly in any order
Actual Behaviour
Environment Information
Example Application
The text was updated successfully, but these errors were encountered: