|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
25 - 10 = ?
Subscribe to this entry?

 [2021-03-05 23:54 UTC] manuel-php at mausz dot at
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.



Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


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

Patch Name: http_fopen_wrapper.c: Handle HTTP 101
On GitHub:
 [2021-03-08 13:30 UTC]
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2021-03-08 13:30 UTC]
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]
Automatic comment on behalf of
Log: Fix #80838: HTTP wrapper waits for HTTP 1 response after HTTP 101
 [2021-03-08 13:53 UTC]
-Status: Verified +Status: Closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 18 09:01:29 2024 UTC