Ignore:
Timestamp:
Dec 15, 2008, 9:22:11 PM (12 years ago)
Author:
charles
Message:

(1.4x libT) probable fix for the "greedy peer" bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.4x/libtransmission/iobuf.h

    r7177 r7403  
    4545 * 2. the up/down speeds are directly constrained by our `bandwidth' object
    4646 * 3. the implementation is hidden in the .c file
     47 *
     48 * 4. a late addition nasty hack to read/write on demand, called from
     49 *    bandwidth. this actually seems to make a lot of this class redundant
     50 *    and probably should be refactored.
    4751 */
    4852struct tr_iobuf;
     
    105109int tr_iobuf_disable( struct tr_iobuf * iobuf, short event );
    106110
     111int tr_iobuf_flush_output_buffer( struct tr_iobuf * iobuf, size_t max );
     112
     113int tr_iobuf_tryread( struct tr_iobuf * iobuf, size_t max );
     114
    107115#endif
Note: See TracChangeset for help on using the changeset viewer.