Bug #80179 [NEW]: HTTP version still shows as HTTP/1.0

From: Date: Sat, 03 Oct 2020 19:26:27 +0000
Subject: Bug #80179 [NEW]: HTTP version still shows as HTTP/1.0
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-229357@lists.php.net to get a copy of this message
From:             john-stevenson at blueyonder dot co dot uk
Operating system: Any
PHP version:      8.0.0rc1
Package:          HTTP related
Bug Type:         Bug
Bug description:HTTP version still shows as HTTP/1.0 

Description:
------------
The upgraded behaviour to advertise HTTP/1.1 by default does not happen
when a proxy is being used, as per this line: 

smart_str_appendl(&header, " HTTP/1.0\r\n", sizeof(" HTTP/1.0\r\n")-1);

https://github.com/php/php-src/blob/ae944503c34d7c89433eaefe607fc0d631d6f9ac/ext/standard/http_fopen_wrapper.c#L254


-- 
Edit bug report at https://bugs.php.net/bug.php?id=80179&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=80179&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=80179&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=80179&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=80179&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=80179&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=80179&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=80179&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=80179&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=80179&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=80179&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80179&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=80179&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=80179&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=80179&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=80179&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=80179&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=80179&r=mysqlcfg


Thread (2 messages)

« previous php.bugs (#229357) next »