Changeset 10235


Ignore:
Timestamp:
Feb 20, 2010, 3:41:47 AM (12 years ago)
Author:
charles
Message:

(trunk libT) #2924 "1.90 crashes on startup" -- more changes in the vein of r10233

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/web.c

    r10234 r10235  
    381381        tr_timerAdd( &task->timer_event, timeout, 0 );
    382382
     383        curl_easy_setopt( e, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );
    383384        curl_easy_setopt( e, CURLOPT_SOCKOPTFUNCTION, sockoptfunction );
    384385        curl_easy_setopt( e, CURLOPT_SOCKOPTDATA, task );
     
    389390        curl_easy_setopt( e, CURLOPT_AUTOREFERER, 1L );
    390391        curl_easy_setopt( e, CURLOPT_FORBID_REUSE, 1L );
     392        curl_easy_setopt( e, CURLOPT_MAXREDIRS, -1L );
    391393        curl_easy_setopt( e, CURLOPT_PRIVATE, task );
    392394        curl_easy_setopt( e, CURLOPT_SSL_VERIFYHOST, 0L );
Note: See TracChangeset for help on using the changeset viewer.