projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Backport v4 updates
[m6w6/ext-http]
/
tests
/
client022.phpt
diff --git
a/tests/client022.phpt
b/tests/client022.phpt
index 255de083bb3522a2df2751795c2e5943963802dd..434135107ae6215597fd63dd5a6d78886581791f 100644
(file)
--- a/
tests/client022.phpt
+++ b/
tests/client022.phpt
@@
-19,9
+19,12
@@
nghttpd(function($port) {
"protocol" => http\Client\Curl\HTTP_VERSION_2_0,
"ssl" => [
"cainfo" => __DIR__."/helper/http2.crt",
"protocol" => http\Client\Curl\HTTP_VERSION_2_0,
"ssl" => [
"cainfo" => __DIR__."/helper/http2.crt",
+ "verifypeer" => false, // needed for NSS without PEM support
]
]);
]
]);
- $client->enqueue(new http\Client\Request("GET", "https://localhost:$port"));
+
+ $request = new http\Client\Request("GET", "https://localhost:$port");
+ $client->enqueue($request);
echo $client->send()->getResponse();
});
echo $client->send()->getResponse();
});
@@
-29,7
+32,7
@@
nghttpd(function($port) {
===DONE===
--EXPECTF--
Test
===DONE===
--EXPECTF--
Test
-HTTP/2
.0
200
+HTTP/2 200
%a
<!doctype html>
%a
<!doctype html>