Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[HttpClient] CurlResponse.php - Trying to access array offset on false #60016

Open
@sungvadan

Description

@sungvadan

Symfony version(s) affected

6.4.19

Description

Hello,
I have updated the version of HttpClient from 6.4.18 to 6.4.19 . And I encountered a bug. I tried to debug it, but I can't find the issue. The code in this part has not been modified between the two versions.

curl_getinfo($this->handle, \CURLINFO_PRIVATE); in version 6.4.19 return false and causes the bug

Image

Thanks in advance.

How to reproduce

I don't really know how to reproduce. But in some case curl_getinfo($this->handle, \CURLINFO_PRIVATE); return false.

Possible Solution

Maybe change to

$waitFor = @curl_getinfo($ch, \CURLINFO_PRIVATE) ?: '_0';

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp