Skip to content

php_network_connect_socket() in synchronous mode doesn't correctly handle EINPROGRESS #13253

Open
@mauritsd

Description

@mauritsd

Description

Hey!

I think I tracked a PHPRedis issue where it very sporadically throws a "Operation is in progress" exception on connect to a bug in the php_network_connect_socket() function. The problem is that it doesn't clear an earlier occurring EINPROGRESS error, which will then get returned while it checks for select() errors.

#13252 for a possible fix.

Regards,
Maurits

PHP Version

PHP 8.3.1

Operating System

Ubuntu 20.04

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