Ignore:
Timestamp:
Mar 8, 2010, 4:29:58 AM (12 years ago)
Author:
charles
Message:

(trunk) #2993 "'Downloaded' much greater than 'Have' or 'verified'" -- add new congestion-based throttle for 2.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.h

    r10084 r10332  
    1919
    2020#include "completion.h" /* tr_completion */
     21#include "history.h" /* tr_recentHistory */
    2122#include "session.h" /* tr_sessionLock(), tr_sessionUnlock() */
    2223#include "utils.h" /* TR_GNUC_PRINTF */
     
    176177    const char * currentDir;
    177178
     179    tr_recentHistory       * blocksSentToClient;
     180    tr_recentHistory       * blocksSentToPeer;
     181
     182    tr_recentHistory       * cancelsSentToClient;
     183    tr_recentHistory       * cancelsSentToPeer;
     184
    178185    /* How many bytes we ask for per request */
    179186    uint32_t                   blockSize;
     
    344351enum
    345352{
     353    TORRENT_DOWNLOAD_CONGESTION_HISTORY_SEC = 120,
     354
    346355    TORRENT_MAGIC_NUMBER = 95549
    347356};
Note: See TracChangeset for help on using the changeset viewer.