Changeset 13949
- Timestamp:
- Feb 3, 2013, 11:29:34 PM (8 years ago)
- Location:
- trunk/libtransmission
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/peer-common.h
r13948 r13949 18 18 #define TR_PEER_H 19 19 20 #include "transmission.h" 21 #include "bitfield.h" 22 #include "history.h" 23 #include "quark.h" 24 20 25 /** 21 26 * @addtogroup peers Peers … … 23 28 */ 24 29 25 /**26 *** Fields common to webseed and bittorrent peers27 **/28 29 #include "transmission.h"30 #include "bitfield.h"31 #include "history.h"32 #include "quark.h"33 34 30 enum 35 31 { 36 /* when we're making requests from another peer,37 batch them together to send enough requests to38 meet our bandwidth goals for the next N seconds */39 REQUEST_BUF_SECS = 10,40 41 32 /* this is the maximum size of a block request. 42 33 most bittorrent clients will reject requests -
trunk/libtransmission/peer-msgs.c
r13948 r13949 90 90 /* how many blocks to keep prefetched per peer */ 91 91 PREFETCH_SIZE = 18, 92 93 /* when we're making requests from another peer, 94 batch them together to send enough requests to 95 meet our bandwidth goals for the next N seconds */ 96 REQUEST_BUF_SECS = 10, 92 97 93 98 /* defined in BEP #9 */
Note: See TracChangeset
for help on using the changeset viewer.