[php-src] Issue #13253: php_network_connect_socket() in synchronous mode doesn't correctly handle EINPROGRESS

From: Date: Fri, 26 Jan 2024 15:38:04 +0000
Subject: [php-src] Issue #13253: php_network_connect_socket() in synchronous mode doesn't correctly handle EINPROGRESS
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-246347@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/13253 Author: 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. https://github.com/php/php-src/pull/13252 for a possible fix. Regards, Maurits ### PHP Version PHP 8.3.1 ### Operating System Ubuntu 20.04

« previous php.bugs (#246347) next »