Bug #80838 [PATCH]: HTTP wrapper incorrectly waits for further HTTP 1 responses after HTTP 101

From: Date: Sat, 06 Mar 2021 10:17:53 +0000
Subject: Bug #80838 [PATCH]: 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-232593@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
 Patch added by:     daverandom@php.net
 Reported by:        manuel-php at mausz dot at
 Summary:            HTTP wrapper incorrectly waits for further HTTP 1
                     responses after HTTP 101
 Status:             Open
 Type:               Bug
 Package:            Streams related
 PHP Version:        7.4.16
 Block user comment: N
 Private report:     N

 New Comment:

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


Previous Comments:
------------------------------------------------------------------------
[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 (#232593) next »