Bug #80838 [Ver->Csd]: HTTP wrapper incorrectly waits for further HTTP 1 responses after HTTP 101

From: Date: Mon, 08 Mar 2021 13:53:45 +0000
Subject: Bug #80838 [Ver->Csd]: HTTP wrapper incorrectly waits for further HTTP 1 responses after HTTP 101
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232623@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80838&edit=1

 ID:                 80838
 Updated by:         cmb@php.net
 Reported by:        manuel-php at mausz dot at
 Summary:            HTTP wrapper incorrectly waits for further HTTP 1
                     responses after HTTP 101
-Status:             Verified
+Status:             Closed
 Type:               Bug
 Package:            Streams related
 PHP Version:        7.4.16
 Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

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


Previous Comments:
------------------------------------------------------------------------
[2021-03-08 13:30:24] 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-06 10:17:53] 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-05 23:54:39] 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



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=80838&edit=1


Thread (4 messages)

« previous php.bugs (#232623) next »