X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fhelper%2Fpipeline.inc;h=6f3674ce9c1c764db8e81740a16a46e3153a8040;hp=a6b16999c373b3835396edd44f17e5e4428e554f;hb=286dfcc5b1e7b24117132c7bff5b8e64ac6ac5d0;hpb=f0329a04eb73824aac93df66bba179bf44008501 diff --git a/tests/helper/pipeline.inc b/tests/helper/pipeline.inc index a6b1699..6f3674c 100644 --- a/tests/helper/pipeline.inc +++ b/tests/helper/pipeline.inc @@ -23,8 +23,8 @@ serve(function($client) { /* pipelined messages */ $req = array(); for ($i=0; $i < $count; ++ $i) { - $req[] = new http\Message($client, false); - logger("Read request no. %d from client %d", $i+1, (int) $client); + $req[] = $m = new http\Message($client, false); + logger("Read request no. %d from client %d (%s)", $i+1, (int) $client, $m->getRequestUrl()); } foreach ($req as $i => $msg) { respond($client, $msg);