Changeset 12415
- Timestamp:
- May 4, 2011, 9:38:01 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/bandwidth.c
r12361 r12415 226 226 while( n > 0 ) 227 227 { 228 const size_t increment = 1024; 228 /* value of 3000 bytes chosen so that when using uTP we'll send a full-size 229 * frame right away and leave enough buffered data for the next frame to go 230 * out in a timely manner. */ 231 const size_t increment = 3000; 232 229 233 const int bytesUsed = tr_peerIoFlush( peers[i], dir, increment ); 230 234
Note: See TracChangeset
for help on using the changeset viewer.