X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fclient026.phpt;h=1bafdc1b154d1d08a663e1856135b2e83e2f78ae;hp=1e73db24a9488d7e2c9f7f04f093cbfdcf2540f0;hb=b3eb2fdc25d712af43142e2f444e8d69d9827536;hpb=0ba32eeed8cf2e610619993b52fbf0dfba61a62d diff --git a/tests/client026.phpt b/tests/client026.phpt index 1e73db2..1bafdc1 100644 --- a/tests/client026.phpt +++ b/tests/client026.phpt @@ -19,7 +19,7 @@ server("proxy.inc", function($port) { for ($i = 0, $data = str_repeat("a",1024); $i < 128*1024; ++$i) { $request->getBody()->append($data); } - $request->setOptions(["expect_100_timeout" => 0]); + $request->setOptions(array("timeout" => 10, "expect_100_timeout" => 0)); $client->enqueue($request); $client->send(); var_dump($client->getResponse()->getHeaders()); @@ -39,6 +39,6 @@ array(5) { ["X-Original-Transfer-Encoding"]=> string(7) "chunked" ["Content-Length"]=> - int(134217973) + int(134217%d%d%d) } ===DONE===