Test: /ext/openssl/tests/bug77390.phpt - Version 7.3.3-dev        

Bug #77390 feof might hang on TLS streams in case of fragmented TLS records
Submitted: 2018-12-31 15:53:30 Modified: 2019-01-17 18:15:52
From: kelunik Assigned: bukka
Status: Closed Package: OpenSSL related
PHP Version: 7.2.13 OS:

There are 2 different diffs reported by users for this test.

Count Diff
1 (50%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis' (tried: /opt/php7/lib/php/extensions/debug-zts-20180731/redis (/opt/php7/lib/php/extensions/debug-zts-20180731/redis: cannot open shared object file: No such file or directory), /opt/php7/lib/php/extensions/debug-zts-20180731/redis.so (/opt/php7/lib/php/extensions/debug-zts-20180731/redis.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'pthreads' (tried: /opt/php7/lib/php/extensions/debug-zts-20180731/pthreads (/opt/php7/lib/php/extensions/debug-zts-20180731/pthreads: cannot open shared object file: No such file or directory), /opt/php7/lib/php/extensions/debug-zts-20180731/pthreads.so (/opt/php7/lib/php/extensions/debug-zts-20180731/pthreads.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
001- string(0) ""
002- string(12) "hello, world"
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis' (tried: /opt/php7/lib/php/extensions/debug-zts-20180731/redis (/opt/php7/lib/php/extensions/debug-zts-20180731/redis: cannot open shared object file: No such file or directory), /opt/php7/lib/php/extensions/debug-zts-20180731/redis.so (/opt/php7/lib/php/extensions/debug-zts-20180731/redis.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'pthreads' (tried: /opt/php7/lib/php/extensions/debug-zts-20180731/pthreads (/opt/php7/lib/php/extensions/debug-zts-20180731/pthreads: cannot open shared object file: No such file or directory), /opt/php7/lib/php/extensions/debug-zts-20180731/pthreads.so (/opt/php7/lib/php/extensions/debug-zts-20180731/pthreads.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
005+
006+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10012 (Connection refused) in /home/piers/projects/php-zts/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 7
007+
008+ Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /home/piers/projects/php-zts/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 8
009+
010+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/piers/projects/php-zts/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 13
011+
012+ Warning: stream_select(): No stream arrays were passed in /home/piers/projects/php-zts/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 13
013+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /home/piers/projects/php-zts/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 10
014+ PHP Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /home/piers/projects/php-zts/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 11
015+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/piers/projects/php-zts/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 14
016+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/piers/projects/php-zts/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 14
017+ PHP Warning: stream_socket_accept(): SSL: Handshake timed out in /home/piers/projects/php-zts/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 7
018+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/piers/projects/php-zts/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 14
019+ PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/piers/projects/php-zts/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 27
1 (50%)
001- string(0) ""