mirror of
https://github.com/curl/curl.git
synced 2026-07-31 02:48:03 +03:00
parent
d4618a3fc4
commit
959e613e7c
6 changed files with 7 additions and 7 deletions
|
|
@ -55,7 +55,7 @@ int main(void)
|
|||
returns CURLE_PEER_FAILED_VERIFICATION */
|
||||
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
|
||||
|
||||
/* Letting the wrong host name in the certficate be okay, the transfer
|
||||
/* Letting the wrong host name in the certificate be okay, the transfer
|
||||
goes through but will (most likely) cause a 404 or similar because it
|
||||
sends an unknown name in the Host: header field */
|
||||
res = curl_easy_perform(curl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue