Changeset 4838


Ignore:
Timestamp:
Jan 26, 2008, 3:43:47 AM (15 years ago)
Author:
charles
Message:

(1.0x) #613: fix handshake protocol error reported by brad- and tracked down w/Lacrocivious' help.

Location:
branches/1.0x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0x/NEWS

    r4835 r4838  
    44- All Platforms:
    55   + Fix handshake bug with peers that support LTEP
     6   + Fix handshake bug with mainline BitTorrent
    67
    781.02 (2008/01/22)
     
    910   + Fix 1.00 bug that choked some models of routers
    1011   + Fix 1.00 crash in peer handshake
    11    + Fix 1.01 bug that sometimes froze the app for a long time
     12   + Fix 1.00 bug that sometimes froze the app for a long time
    1213   + Minor improvements to the command-line client
    1314- GTK+
  • branches/1.0x/libtransmission/peer-msgs.c

    r4835 r4838  
    18921892    m->clientSuggestedPieces = tr_bitfieldNew( m->torrent->info.pieceCount );
    18931893    *setme = tr_publisherSubscribe( m->publisher, func, userData );
    1894    
    1895     tr_peerIoSetTimeoutSecs( m->io, 150 ); /* timeout after N seconds of inactivity */
    1896     tr_peerIoSetIOFuncs( m->io, canRead, didWrite, gotError, m );
    1897     ratePulse( m );
    18981894
    18991895    if ( tr_peerIoSupportsLTEP( m->io ) )
    19001896        sendLtepHandshake( m );
    19011897
     1898    /* bitfield/have-all/have-none must preceed other non-handshake messages... */
    19021899    if ( !tr_peerIoSupportsFEXT( m->io ) )
    19031900        sendBitfield( m );
     
    19131910        }
    19141911    }
     1912   
     1913    tr_peerIoSetTimeoutSecs( m->io, 150 ); /* timeout after N seconds of inactivity */
     1914    tr_peerIoSetIOFuncs( m->io, canRead, didWrite, gotError, m );
     1915    ratePulse( m );
    19151916
    19161917    return m;
Note: See TracChangeset for help on using the changeset viewer.