modularize curl event handler
[m6w6/ext-http] / tests / client022.phpt
index 255de083bb3522a2df2751795c2e5943963802dd..e3f7f118812a86cc1faf11a4fd02615fbbfbc553 100644 (file)
@@ -18,7 +18,7 @@ nghttpd(function($port) {
        $client->setOptions([
                "protocol" => http\Client\Curl\HTTP_VERSION_2_0,
                "ssl" => [
-                       "cainfo" => __DIR__."/helper/http2.crt",
+                       "cafile" => __DIR__."/helper/http2.crt",
                ]
        ]);
        $client->enqueue(new http\Client\Request("GET", "https://localhost:$port"));