X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fclient007.phpt;h=f0100a6af290cc9f42ee6ba834f046e264cef2dc;hp=8421b51e7678dc7c66e637e2a7c6de7f63cc9992;hb=333ffe4376d543204387d3cbd8e17f4a675cf3e5;hpb=c1f2ac7da167dec92df81ad33de65b953ccd043d diff --git a/tests/client007.phpt b/tests/client007.phpt index 8421b51..f0100a6 100644 --- a/tests/client007.phpt +++ b/tests/client007.phpt @@ -3,9 +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