1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-23 14:40:43 +00:00

reported by John_Clay: allow the connection to continue even if the certificate can't be authenticated.

This commit is contained in:
Charles Kerr 2008-04-24 19:48:27 +00:00
parent aa731deaa6
commit 335ff66baa

View file

@ -94,6 +94,7 @@ fprintf( stderr, "new web tag %u [%s]\n", task->tag, url );
curl_easy_setopt( ch, CURLOPT_WRITEFUNCTION, writeFunc );
curl_easy_setopt( ch, CURLOPT_WRITEDATA, task );
curl_easy_setopt( ch, CURLOPT_USERAGENT, TR_NAME "/" LONG_VERSION_STRING );
curl_easy_setopt( ch, CURLOPT_SSL_VERIFYPEER, 0 );
curl_multi_add_handle( web->cm, ch );