Merge branch 'v0.23.x'

This commit is contained in:
Max Kellermann
2022-09-27 20:40:41 +02:00
5 changed files with 26 additions and 10 deletions

View File

@@ -122,6 +122,14 @@ public:
easy.SetVerifyPeer(value);
}
void SetProxyVerifyHost(bool value) {
easy.SetOption(CURLOPT_PROXY_SSL_VERIFYHOST, value ? 2L : 0L);
}
void SetProxyVerifyPeer(bool value) {
easy.SetOption(CURLOPT_PROXY_SSL_VERIFYPEER, value);
}
void SetNoBody(bool value=true) {
easy.SetNoBody(value);
}