From b74974e437060c5ed430759a768114416c9f58b0 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 15 Jun 2005 12:13:13 +0000 Subject: [PATCH] - update --- tests/HttpRequestPool_001.phpt | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/tests/HttpRequestPool_001.phpt b/tests/HttpRequestPool_001.phpt index b3a035b..fd3853a 100644 --- a/tests/HttpRequestPool_001.phpt +++ b/tests/HttpRequestPool_001.phpt @@ -23,13 +23,20 @@ foreach ($reqs as $req) { $req->getResponseMessage()->getResponseCode(), "\n"; $pool->detach($req); $pool->attach($req); + $pool->detach($req); + $pool->attach($req); + $pool->detach($req); + $pool->attach($req); + $pool->detach($req); + $pool->attach($req); + $req->getResponseMessage()->getResponseCode(); + $req->getResponseMessage()->getResponseCode(); + $req->getResponseMessage()->getResponseCode(); + $req->getResponseMessage()->getResponseCode(); } -try { - $pool->send(); -} catch (HttpException $ex) { - echo "Catched\n"; -} +$pool->send(); $pool->reset(); +$pool->attach($req); echo "Done\n"; ?> --EXPECTF-- @@ -39,5 +46,4 @@ X-Powered-By: PHP/%s http://www.php.net/=200:200 http://pear.php.net/=200:200 http://pecl.php.net/=200:200 -Catched Done -- 2.30.2