Changeset 7523


Ignore:
Timestamp:
Dec 29, 2008, 7:51:09 AM (12 years ago)
Author:
charles
Message:

(trunk libT) revert #7517 since it didn't do any good. disable http connection reuse.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/web.c

    r7517 r7523  
    127127        curl_easy_setopt( easy, CURLOPT_CONNECTTIMEOUT, 60L );
    128128        curl_easy_setopt( easy, CURLOPT_FOLLOWLOCATION, 1L );
     129        curl_easy_setopt( easy, CURLOPT_FORBID_REUSE, 1L );
    129130        curl_easy_setopt( easy, CURLOPT_MAXREDIRS, 16L );
    130131        curl_easy_setopt( easy, CURLOPT_NOSIGNAL, 1L );
     
    356357         struct tr_web_sockinfo * f )
    357358{
    358     struct timeval tv;
    359359    const int kind = EV_PERSIST
    360360                   | (( action & CURL_POLL_IN ) ? EV_READ : 0 )
     
    366366    event_set( &f->ev, sockfd, kind, event_cb, g );
    367367    f->evset = 1;
    368     tr_timevalMsec( DEFAULT_TIMER_MSEC, &tv );
    369     event_add( &f->ev, &tv );
     368    event_add( &f->ev, NULL );
    370369}
    371370
Note: See TracChangeset for help on using the changeset viewer.