Ignore:
Timestamp:
Dec 16, 2009, 6:20:01 PM (12 years ago)
Author:
charles
Message:

(trunk) #2548 "T's request queue can send out too many duplicate requests" -- (1) fix r9465 implementation bug that caused some peers to get starved of requests if they rejected a request or choked, then unchoked us. (2) increase a block request's TTL by 15 seconds to reduce cancel/req cycles between two or more blocks (3) add a debug mode to the GTK+ client's peer tab to watch the pending requests counts both up & down

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.h

    r9784 r9793  
    9191    uint8_t                  encryption_preference;
    9292    tr_port                  dht_port;
     93
     94    /* how many requests the peer has made that we haven't responded to yet */
     95    int                      pendingReqsToClient;
     96
     97    /* how many requests we've made and are currently awaiting a response for */
     98    int                      pendingReqsToPeer;
     99
    93100    struct tr_peerIo       * io;
    94101    struct peer_atom       * atom;
Note: See TracChangeset for help on using the changeset viewer.