From: Michael Wallner Date: Mon, 3 Aug 2015 10:33:51 +0000 (+0200) Subject: use a longer timeout X-Git-Tag: RELEASE_2_5_2~15 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=7741e113eaa782b365b7d6e2b87036e29cd59a41;p=m6w6%2Fext-http use a longer timeout --- diff --git a/tests/helper/server.inc b/tests/helper/server.inc index 5d25562..029cd46 100644 --- a/tests/helper/server.inc +++ b/tests/helper/server.inc @@ -36,7 +36,7 @@ function serve($cb) { logger("serve: Using port %d", $port); do { $R = array($server); $W = array(); $E = array(); - $select = stream_select($R, $E, $E, 0, 10000); + $select = stream_select($R, $E, $E, 10, 0); if ($select && ($client = stream_socket_accept($server, 1))) { logger("serve: Accept client %d", (int) $client); if (getenv("PHP_HTTP_TEST_SSL")) {