X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fclient007.phpt;fp=tests%2Fclient007.phpt;h=f0100a6af290cc9f42ee6ba834f046e264cef2dc;hp=74cdbcd9d06f677797338ab422a324bbd1679510;hb=e867316f1364f589eec67cc684703c874984430b;hpb=baff99d75b56868714f7f2ed1972b3baceb72014 diff --git a/tests/client007.phpt b/tests/client007.phpt index 74cdbcd..f0100a6 100644 --- a/tests/client007.phpt +++ b/tests/client007.phpt @@ -3,10 +3,13 @@ client response callback + requeue --SKIPIF-- --FILE-- requeue($request, "response"); - $client->send(); +server("proxy.inc", function($port) { + $request = new http\Client\Request("GET", "http://localhost:$port"); + + foreach (http\Client::getAvailableDrivers() as $driver) { + $client = new http\Client($driver); + for ($i=0; $i < 2; ++ $i) { + $client->requeue($request, "response"); + $client->send(); + } } -} +}); ?> Done