php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78100 bug76675.phpt fails with cURL 7.65.0
Submitted: 2019-06-03 12:03 UTC Modified: 2019-09-16 14:57 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: cmb@php.net Assigned: cmb (profile)
Status: Assigned Package: cURL related
PHP Version: 7.3.6 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 — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
9 + 14 = ?
Subscribe to this entry?

 
 [2019-06-03 12:03 UTC] cmb@php.net
Description:
------------
When run with cURL 7.65.0 (and likely alread with cURL 7.64.1),
bug76675.phpt fails.  Apparently, _php_server_push_callback() is
no longer called.  The last call to curl_multi_info_read() yields
a "result" element of CURLE_RECV_ERROR (with former cURL versions
this has been CURLE_OK).

Test script:
---------------
ext/curl/tests/bug76675.phpt

Expected result:
----------------
success

Actual result:
--------------
failure with diff:

001+ 
001- (Received \d+)+

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-06-03 12:03 UTC] cmb@php.net
-Assigned To: +Assigned To: pierrick
 [2019-06-05 16:25 UTC] cmb@php.net
FWIW, this test still fails with cURL 7.65.1.
 [2019-07-18 08:00 UTC] cmb@php.net
FWIW, this test still fails with cURL 7.65.2.
 [2019-09-10 15:16 UTC] cmb@php.net
The test regression is caused by commit 228cb25[1]; either the
server sends an invalid :authority pseudo header, or the check is
too restrictive[2].

[1] <https://github.com/curl/curl/commit/228cb2511e00badc78eb2356232b40eee54d0dbc>
[2] <https://github.com/curl/curl/pull/3581#issuecomment-465458142>
 [2019-09-16 14:57 UTC] cmb@php.net
-Assigned To: pierrick +Assigned To: cmb
 [2019-09-16 14:57 UTC] cmb@php.net
For reference: <https://github.com/curl/curl/pull/4365>
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Nov 12 15:01:29 2019 UTC