History log of /php-src/ext/openssl/tests/gh13860.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
# a86256c9 07-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Improve stability of test gh13860.phpt


# 2aae14c8 05-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-13860: Incorrect PHP_STREAM_OPTION_CHECK_LIVENESS case in ext/openssl/xp_ssl.c - causing use of dead socket

php_socket_errno() may return a stale value when recv returns a
value >

Fix GH-13860: Incorrect PHP_STREAM_OPTION_CHECK_LIVENESS case in ext/openssl/xp_ssl.c - causing use of dead socket

php_socket_errno() may return a stale value when recv returns a
value >= 0. As such, the liveness check is wrong.
This is the same bug as #70198 (fixed in GH-1456). So we fix it in the
same way.

Closes GH-13895.

show more ...