httptool: add missing CURLOPT_SSL_VERIFYPEER curl option

Origin commit data
------------------
Branch: ni/coolstream
Commit: 3d8f4959ea
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-11 (Tue, 11 Oct 2016)

Origin message was:
------------------
- httptool: add missing CURLOPT_SSL_VERIFYPEER curl option

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-10-11 22:12:44 +02:00
parent 87b756e45f
commit 1afef53db4

View File

@@ -91,6 +91,7 @@ printf("url is %s\n", URL.c_str());
curl_easy_setopt(curl, CURLOPT_USERAGENT, userAgent.c_str());
curl_easy_setopt(curl, CURLOPT_NOSIGNAL, (long)1);
curl_easy_setopt(curl, CURLOPT_TIMEOUT, timeout); //NI
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, false); //NI
curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, connecttimeout); //NI
curl_easy_setopt(curl, CURLOPT_FAILONERROR, true);
#ifdef DEBUG