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-11-22 08:21 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: Closed Package: cURL related
PHP Version: 7.3.6 OS: *
Private report: No CVE-ID: None
 [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>
 [2019-11-22 08:21 UTC] cmb@php.net
-Status: Assigned +Status: Closed
 [2019-11-22 08:21 UTC] cmb@php.net
This issue is fixed as of libcurl 7.67.0.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 19:01:29 2024 UTC