-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.0.beta
-
None
-
No
-
None
-
rhel-sst-cs-stacks
-
ssg_core_services
-
None
-
False
-
-
None
-
None
-
None
-
None
-
None
Test is failing on rhel10 with curl error:
curl: (1) Unsupported HTTP/1 subversion in response
Please provide the package NVR for which bug is seen:
httpd-2.4.62-1.el10
How reproducible:
Run /CoreOS/httpd/Regression/bz853128-Custom-HTTP-Error-codes-get-remapped-to-500er
Expected results
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: BZ#1298866 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:04:33 ] :: [ BEGIN ] :: Change status code to 1100 :: actually running 'sed -i 's/450/1100/g' response.txt' :: [ 09:04:33 ] :: [ PASS ] :: Change status code to 1100 (Expected 0, got 0) :: [ 09:04:33 ] :: [ BEGIN ] :: Running 'nc -l 8123 < response.txt &' :: [ 09:04:33 ] :: [ PASS ] :: Command 'nc -l 8123 < response.txt &' (Expected 0, got 0) :: [ 09:04:38 ] :: [ BEGIN ] :: Running 'curl -D headers http://localhost/rhts-bz853128 > output' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0GET / HTTP/1.1 Host: localhost:8123 User-Agent: curl/7.76.1 Accept: */* X-Forwarded-For: ::1 X-Forwarded-Host: localhost X-Forwarded-Server: vm-10-0-184-16.hosted.upshift.rdu2.redhat.com Connection: Keep-Alive 100 5 0 5 0 0 1000 0 --:--:-- --:--:-- --:--:-- 1000 :: [ 09:04:38 ] :: [ PASS ] :: Command 'curl -D headers http://localhost/rhts-bz853128 > output' (Expected 0, got 0) HTTP/1.1 1100 Content-Length: 5 Server: fake HTTP/1.1 200 OK Date: Fri, 16 Aug 2024 13:04:38 GMT Server: Apache/2.4.57 (Red Hat Enterprise Linux) Transfer-Encoding: chunked XXX abcde:: [ 09:04:43 ] :: [ PASS ] :: File 'headers' should contain 'HTTP/1.1 110'
Actual results
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: BZ#1298866 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:04:31 ] :: [ BEGIN ] :: Change status code to 1100 :: actually running 'sed -i 's/450/1100/g' response.txt' :: [ 09:04:31 ] :: [ PASS ] :: Change status code to 1100 (Expected 0, got 0) :: [ 09:04:31 ] :: [ BEGIN ] :: Running 'nc -l 8123 < response.txt &' :: [ 09:04:31 ] :: [ PASS ] :: Command 'nc -l 8123 < response.txt &' (Expected 0, got 0) :: [ 09:04:36 ] :: [ BEGIN ] :: Running 'curl -D headers http://localhost/rhts-bz853128 > output' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0GET / HTTP/1.1 Host: localhost:8123 User-Agent: curl/8.6.0 Accept: */* X-Forwarded-For: ::1 X-Forwarded-Host: localhost X-Forwarded-Server: prereserve-1mt-rhel-10.0-20240804.0-31190-2024-08-16-11-50 Connection: Keep-Alive 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (1) Unsupported HTTP/1 subversion in response :: [ 09:04:36 ] :: [ FAIL ] :: Command 'curl -D headers http://localhost/rhts-bz853128 > output' (Expected 0, got 1)