projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
catch NULLs
[m6w6/ext-http]
/
tests
/
requestpool001.phpt
diff --git
a/tests/requestpool001.phpt
b/tests/requestpool001.phpt
index 3ca16837c7e4fdaebc48f2030235cfa706ea539a..a65ada45894b0105b33d3d5dbea0f1317f0e29e8 100644
(file)
--- a/
tests/requestpool001.phpt
+++ b/
tests/requestpool001.phpt
@@
-122,7
+122,7
@@
define('RMAX', 10);
chdir(__DIR__);
$time = microtime(true);
chdir(__DIR__);
$time = microtime(true);
-$factory = new HttpRequestFactory(
"curl", array(
"requestPoolClass" => "Pool"));
+$factory = new HttpRequestFactory(
array("driver" => "curl",
"requestPoolClass" => "Pool"));
$factory->createPool()->run($factory);
printf("Elapsed: %0.3fs\n", microtime(true)-$time);
$factory->createPool()->run($factory);
printf("Elapsed: %0.3fs\n", microtime(true)-$time);