projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
(gcov) tests fixup
[m6w6/ext-http]
/
tests
/
client026.phpt
diff --git
a/tests/client026.phpt
b/tests/client026.phpt
index 1e73db24a9488d7e2c9f7f04f093cbfdcf2540f0..d89e98ef592f7dbf5bed6a9a75cbb36b2bb64f3b 100644
(file)
--- 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);
}
for ($i = 0, $data = str_repeat("a",1024); $i < 128*1024; ++$i) {
$request->getBody()->append($data);
}
- $request->setOptions(["expect_100_timeout" => 0]);
+ $request->setOptions(["
timeout" => 10, "
expect_100_timeout" => 0]);
$client->enqueue($request);
$client->send();
var_dump($client->getResponse()->getHeaders());
$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"]=>
["X-Original-Transfer-Encoding"]=>
string(7) "chunked"
["Content-Length"]=>
- int(134217
973
)
+ int(134217
%d%d%d
)
}
===DONE===
}
===DONE===