Test: /ext/openssl/tests/bug72333.phpt - Version 7.0.28        

Bug #72333 fwrite() on non-blocking SSL sockets doesn't work
Submitted: 2016-06-04 09:45:18 Modified: 2017-03-14 18:16:57
From: webmaster_20160604 Assigned: bukka
Status: Closed Package: OpenSSL related
PHP Version: 5.6.22 OS: All

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

Count Diff
20 (43%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
002+
003+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
004+
005+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: stream_select(): No stream arrays were passed in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
12 (26%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /home/viz/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
002+
003+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/viz/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
004+
005+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/viz/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: stream_select(): No stream arrays were passed in /home/viz/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
2 (4%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /home/vizcreations/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
002+
003+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/vizcreations/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
004+
005+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/vizcreations/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: stream_select(): No stream arrays were passed in /home/vizcreations/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
2 (4%)
001+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:10011 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
004+
005+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
006+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 6
007+ PHP Warning: fread() expects parameter 1 to be resource, boolean given in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 8
008+ PHP Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 9
009+
010+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
011+
012+ Warning: stream_select(): No stream arrays were passed in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
013+ donePHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /home/vizcreations/Downloads/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
002+
003+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/vizcreations/Downloads/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
004+
005+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/vizcreations/Downloads/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: stream_select(): No stream arrays were passed in /home/vizcreations/Downloads/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
1 (2%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /home/viz/software/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
002+
003+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/viz/software/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
004+
005+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/viz/software/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: stream_select(): No stream arrays were passed in /home/viz/software/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
1 (2%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /home/ec2-user/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
002+
003+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/ec2-user/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
004+
005+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/ec2-user/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: stream_select(): No stream arrays were passed in /home/ec2-user/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /root/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Unknown error) in /root/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /root/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
008+
009+ Warning: stream_select(): supplied argument is not a valid stream resource in /root/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /root/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
012+ done
1 (2%)
001+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:10011 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
004+
005+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
006+
007+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
008+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 6
009+ PHP Warning: fread() expects parameter 1 to be resource, boolean given in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 8
010+ PHP Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 9
011+
012+ Warning: stream_select(): No stream arrays were passed in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
013+ donePHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
014+ PHP Warning: stream_select(): No stream arrays were passed in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
1 (2%)
001+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:10011 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
004+
005+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
006+
007+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
008+
009+ Warning: stream_select(): No stream arrays were passed in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
010+ donePHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 6
011+ PHP Warning: fread() expects parameter 1 to be resource, boolean given in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 8
012+ PHP Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 9
013+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
014+ PHP Warning: stream_select(): No stream arrays were passed in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/php_mysqli.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/php_mysqli.dll: cannot open shared object file: No such file or directory in Unknown on line 0
001- done
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/php_pdo_mysql.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/php_pdo_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
003+
004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
005+
006+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
007+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:10011 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 4
008+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 6
009+ PHP Warning: fread() expects parameter 1 to be resource, boolean given in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 8
010+ PHP Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 9
011+
012+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
013+
014+ Warning: stream_select(): No stream arrays were passed in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
015+ donePHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/php_intl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/php_intl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
001- done
002+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:10011 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 4
003+
004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
005+
006+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
007+
008+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
009+
010+ Warning: stream_select(): No stream arrays were passed in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
011+ donePHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 6
012+ PHP Warning: fread() expects parameter 1 to be resource, boolean given in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 8
013+ PHP Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 9
014+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
015+ PHP Warning: stream_select(): No stream arrays were passed in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
1 (2%)
001+ PHP Warning: Module 'PDO' already loaded in Unknown on line 0
002+ PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0
1 (2%)
001+ 2.4+ kernel w/o ELF notes? -- report this