Bug 1225284 - curl -I (HEAD request) fails with HTTP/2 against a Debian Apache instance
Summary: curl -I (HEAD request) fails with HTTP/2 against a Debian Apache instance
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Leap 15.5
Hardware: All openSUSE Leap 15.5
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: David Anes
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-25 11:26 UTC by Samuel Henrique
Modified: 2024-07-02 14:01 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Henrique 2024-05-25 11:26:06 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.