You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Realistically, h2c isn't commonly used so this isn't a high priority issue. But, it's not working, so I thought curl should know about it, in case it is a problem that curl can fix (or work around).
candrews
changed the title
http/2 request to http://image.tmdb.org results in Recv failure: Connection reset by peer
http/2 h2c request to Cloudflare sites results in Recv failure: Connection reset by peer
Oct 18, 2020
If curl isn't doing anything wrong, then the problem is that Cloudflare is incorrectly closing the connection: if the client requests an h2c upgrade, and the server doesn't want to do the upgrade, then the server should ignore the request and continue as usual with HTTP/1.1. I submitted an issue on their community support forum: https://community.cloudflare.com/t/http-h2c-upgrade-requests-result-in-connection-reset-by-peer/214761
If someone has a better way to contact Cloudflare to make them aware of this issue so they can fix it, can you please do so?
I did this
This issue appears to be reproducible with any site handled by Cloudflare, including http://cloudflare.com
Realistically, h2c isn't commonly used so this isn't a high priority issue. But, it's not working, so I thought curl should know about it, in case it is a problem that curl can fix (or work around).
I expected the following
A successful response (should be a 404)
curl/libcurl version
operating system
The text was updated successfully, but these errors were encountered: