Bugzilla – Bug 1225284
curl -I (HEAD request) fails with HTTP/2 against a Debian Apache instance
Last modified: 2024-07-02 14:01:16 UTC
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:126.0) Gecko/20100101 Firefox/126.0 Build Identifier: I'm forwarding a bug report from Debian, I've noticed SUSE also ships the affected release and I confirmed I can reproduce the issue on SUSE with: $ podman pull opensuse/leap $ podman run -it opensuse/leap $ curl -I https://h2.git.dgit.debian.org/dgit/info/refs curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1) The issue can happen on other endpoints too. Please check the Debian bug report and curl-library thread for details: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037258 https://curl.se/mail/lib-2024-05/0020.html Reproducible: Always Steps to Reproduce: 1. curl -I https://h2.git.dgit.debian.org/dgit/info/refs Actual Results: curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1) Expected Results: HTTP/2 200 expires: Fri, 01 Jan 1980 00:00:00 GMT pragma: no-cache cache-control: no-cache, max-age=0, must-revalidate x-content-type-options: nosniff x-frame-options: sameorigin referrer-policy: no-referrer x-xss-protection: 1 permissions-policy: interest-cohort=() strict-transport-security: max-age=15552000 vary: Accept-Encoding x-clacks-overhead: GNU Terry Pratchett content-type: text/plain date: Sat, 25 May 2024 11:24:51 GMT server: Apache This should happen on every SUSE release shipping any curl releases between the affected releases mention in the external links.