Changeset 11941


Ignore:
Timestamp:
Feb 18, 2011, 12:40:01 AM (11 years ago)
Author:
jordan
Message:

uTP peers need tr_peerIoFlush() to work during the handshake phase.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-io.c

    r11940 r11941  
    11571157{
    11581158    int n = 0;
     1159    const size_t old_len = evbuffer_get_length( io->outbuf );
     1160    dbgmsg( io, "in tr_peerIoTryWrite %zu", howmuch );
     1161
     1162    if( howmuch > old_len )
     1163        howmuch = old_len;
    11591164
    11601165    if(( howmuch = tr_bandwidthClamp( &io->bandwidth, TR_UP, howmuch )))
Note: See TracChangeset for help on using the changeset viewer.