php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80838 HTTP wrapper incorrectly waits for further HTTP 1 responses after HTTP 101
Submitted: 2021-03-05 23:54 UTC Modified: 2021-03-08 13:30 UTC
From: manuel-php at mausz dot at Assigned: cmb (profile)
Status: Closed Package: Streams related
PHP Version: 7.4.16 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: manuel-php at mausz dot at
New email:
PHP Version: OS:

 

 [2021-03-05 23:54 UTC] manuel-php at mausz dot at
Description:
------------
HTTP wrapper handles HTTP 101 Switching Protocols like a HTTP 100 Continue and waits for further HTTP 1 responses. However everything after a HTTP 101 response + headers is protocol specific and shouldn't be handled by PHP anymore.

PR https://github.com/php/php-src/pull/6730


Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-03-06 10:17 UTC] daverandom@php.net
The following pull request has been associated:

Patch Name: http_fopen_wrapper.c: Handle HTTP 101
On GitHub:  https://github.com/php/php-src/pull/6730
Patch:      https://github.com/php/php-src/pull/6730.patch
 [2021-03-08 13:30 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2021-03-08 13:30 UTC] cmb@php.net
I agree that it makes no sense to go on after 101, and that it's
better to pass the headers to userland.
 [2021-03-08 13:53 UTC] cmb@php.net
Automatic comment on behalf of manuel@mausz.at
Revision: http://git.php.net/?p=php-src.git;a=commit;h=5787f91c55a7ebaeb34711d303cfc27f089f58b3
Log: Fix #80838: HTTP wrapper waits for HTTP 1 response after HTTP 101
 [2021-03-08 13:53 UTC] cmb@php.net
-Status: Verified +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 01:01:28 2024 UTC