Test: /ext/openssl/tests/bug77390.phpt - Version 7.4.0beta2        

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: stream_socket_accept(): Unable to set local cert chain file `/home/andres/Descargas/php-src/ext/openssl/tests/bug77390.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
001- string(0) ""
002- string(12) "hello, world"
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
004+ PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
005+
006+ ** ERROR: process timed out **