Ignore:
Timestamp:
Apr 25, 2008, 11:54:02 PM (14 years ago)
Author:
charles
Message:

steal some curl configuration options from rtorrent :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/web.c

    r5700 r5705  
    138138    curl_easy_setopt( ch, CURLOPT_USERAGENT, TR_NAME "/" LONG_VERSION_STRING );
    139139    curl_easy_setopt( ch, CURLOPT_SSL_VERIFYPEER, 0 );
     140    curl_easy_setopt( ch, CURLOPT_FORBID_REUSE, 1 );
     141    curl_easy_setopt( ch, CURLOPT_NOSIGNAL, 1 );
     142    curl_easy_setopt( ch, CURLOPT_FOLLOWLOCATION, 1 );
     143    curl_easy_setopt( ch, CURLOPT_MAXREDIRS, 5 );
     144    curl_easy_setopt( ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );
     145    curl_easy_setopt( ch, CURLOPT_ENCODING, "" );
    140146    curl_multi_add_handle( web->cm, ch );
    141147
Note: See TracChangeset for help on using the changeset viewer.