Merge branch 'master' of git.php.net:/pecl/http/pecl_http
[m6w6/ext-http] / tests / client018.phpt
index d3daccbd5e632cff619c8ea55880031861dc9aed..c3ca9f96f3f655b9dff2f602187ed8f32b704955 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-pipelining
+client pipelining
 --SKIPIF--
 <?php 
 include "skipif.inc";
@@ -17,7 +17,7 @@ server("pipeline.inc", function($port, $stdin, $stdout, $stderr) {
        fputs($stdin, "3\n");
        
        $client = new http\Client(null);
-       $client->configure(["pipelining" => true, "max_host_connections" => 0]);
+       $client->configure(array("pipelining" => true, "max_host_connections" => 0));
        
        /* this is just to let curl know the server may be capable of pipelining */
        $client->enqueue(new http\Client\Request("GET", "http://localhost:$port"));