diff options
author | Jakub Zelenka <bukka@php.net> | 2017-03-16 18:12:54 +0000 |
---|---|---|
committer | Jakub Zelenka <bukka@php.net> | 2017-03-16 18:12:54 +0000 |
commit | 3becfb9be4cf4c6a465c6531621c3df5c358ba55 (patch) | |
tree | 6f5ff87b1de9623983835fd34fc8e7d02f74dae3 | |
parent | ccc35d1903b4d2baab478f705273026c6889a11e (diff) | |
parent | 0c8ad36d924c6ba208eefc02ae09d84cbd683959 (diff) | |
download | php-git-3becfb9be4cf4c6a465c6531621c3df5c358ba55.tar.gz |
Merge branch 'PHP-7.0' into PHP-7.1
-rw-r--r-- | ext/openssl/tests/bug72333.phpt | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/ext/openssl/tests/bug72333.phpt b/ext/openssl/tests/bug72333.phpt index 466157b1a3..850f18bf6a 100644 --- a/ext/openssl/tests/bug72333.phpt +++ b/ext/openssl/tests/bug72333.phpt @@ -14,11 +14,8 @@ $serverCode = <<<'CODE' $fp = stream_socket_server("ssl://127.0.0.1:10011", $errornum, $errorstr, $flags, $context); phpt_notify(); $conn = stream_socket_accept($fp); - - for ($i = 0; $i < 5; $i++) { - fread($conn, 100000); - usleep(20000); - } + fread($conn, 100000); + phpt_wait(); CODE; $clientCode = <<<'CODE' @@ -40,9 +37,9 @@ $clientCode = <<<'CODE' $buf = substr($buf, $total); } } - - $str1 = str_repeat("a", 5000000); + $str1 = str_repeat("a", 3000000); blocking_fwrite($fp, $str1); + phpt_notify(); echo "done"; CODE; |