Test: /ext/openssl/tests/bug77390.phpt - Version 7.2.34-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
2 (67%)
001+ ** ERROR: process timed out **
001- string(0) ""
002- string(12) "hello, world"
1 (33%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /root/bin/php7.2/lib/php/extensions/debug-zts-20170718/opcache.so (/root/bin/php7.2/lib/php/extensions/debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /root/bin/php7.2/lib/php/extensions/debug-zts-20170718/opcache.so.so (/root/bin/php7.2/lib/php/extensions/debug-zts-20170718/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /root/bin/php7.2/lib/php/extensions/debug-zts-20170718/opcache.so (/root/bin/php7.2/lib/php/extensions/debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /root/bin/php7.2/lib/php/extensions/debug-zts-20170718/opcache.so.so (/root/bin/php7.2/lib/php/extensions/debug-zts-20170718/opcache.so.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 'pthreads.so' (tried: /root/bin/php7.2/lib/php/extensions/debug-zts-20170718/pthreads.so (/root/bin/php7.2/lib/php/extensions/debug-zts-20170718/pthreads.so: cannot open shared object file: No such file or directory), /root/bin/php7.2/lib/php/extensions/debug-zts-20170718/pthreads.so.so (/root/bin/php7.2/lib/php/extensions/debug-zts-20170718/pthreads.so.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.so' (tried: /root/bin/php7.2/lib/php/extensions/debug-zts-20170718/pthreads.so (/root/bin/php7.2/lib/php/extensions/debug-zts-20170718/pthreads.so: cannot open shared object file: No such file or directory), /root/bin/php7.2/lib/php/extensions/debug-zts-20170718/pthreads.so.so (/root/bin/php7.2/lib/php/extensions/debug-zts-20170718/pthreads.so.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 /root/apps/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 7
007+
008+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /root/apps/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 8
009+
010+ Warning: stream_select(): supplied argument is not a valid stream resource in /root/apps/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
011+
012+ Warning: stream_select(): No stream arrays were passed in /root/apps/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
013+ PHP Warning: stream_socket_accept(): SSL: Handshake timed out in /root/apps/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
014+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /root/apps/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10