Changeset 11955


Ignore:
Timestamp:
Feb 18, 2011, 12:43:45 AM (11 years ago)
Author:
jch
Message:

Don't call tr_utpClose in toggle_utp.

The uTP timer needs to run even when uTP has been disabled, or else the
uTP sockets will never time out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/session.c

    r11922 r11955  
    19911991    session->isUTPEnabled = !session->isUTPEnabled;
    19921992
    1993     if( !session->isUTPEnabled )
    1994         tr_utpClose( session );
     1993    /* But don't call tr_utpClose -- see reset_timer in tr-utp.c for an
     1994       explanation. */
    19951995}
    19961996
Note: See TracChangeset for help on using the changeset viewer.