projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
1eeca58
)
use a longer timeout
author
Michael Wallner
<mike@php.net>
Mon, 3 Aug 2015 10:33:51 +0000
(12:33 +0200)
committer
Michael Wallner
<mike@php.net>
Mon, 3 Aug 2015 10:33:51 +0000
(12:33 +0200)
tests/helper/server.inc
patch
|
blob
|
history
diff --git
a/tests/helper/server.inc
b/tests/helper/server.inc
index 5d25562d9bdebc29506f8027ebded35a6d3262db..029cd46e55359262f4288f6c2336e877db13706f 100644
(file)
--- 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, 1000
0);
+ $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")) {