php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #80179 HTTP version still shows as HTTP/1.0
Submitted: 2020-10-03 19:26 UTC Modified: 2020-11-14 21:13 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: john-stevenson at blueyonder dot co dot uk Assigned:
Status: Open Package: HTTP related
PHP Version: 8.0.0rc1 OS: Any
Private report: No CVE-ID: None
 [2020-10-03 19:26 UTC] john-stevenson at blueyonder dot co dot uk
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-11-14 21:13 UTC] carusogabriel@php.net
-Type: Bug +Type: Feature/Change Request
 [2023-02-01 08:39 UTC] amin dot ari242 at gmail dot com
That was so amazing. 
(https://www.myallsaversconnect.org/)github.com
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC