Ignore:
Timestamp:
Sep 15, 2007, 2:09:05 PM (15 years ago)
Author:
charles
Message:
  • save a little bit of memory -- we're still using too much.
  • implement mainline's real choking algorithm
  • if peer sends us a pex and our pex wasn't turned on, then turn it on.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/encryption/libtransmission/peer-io.c

    r3061 r3070  
    349349
    350350void
    351 tr_peerIoWriteBuf( tr_peerIo             * io,
    352                    const struct evbuffer * buf )
     351tr_peerIoWriteBuf( tr_peerIo       * io,
     352                   struct evbuffer * buf )
    353353{
    354354    tr_peerIoWrite( io, EVBUFFER_DATA(buf), EVBUFFER_LENGTH(buf) );
     355    evbuffer_drain( buf, ~0 );
    355356}
    356357
Note: See TracChangeset for help on using the changeset viewer.