Ignore:
Timestamp:
Dec 4, 2008, 5:27:59 AM (13 years ago)
Author:
charles
Message:

(libT) #1557: handshake peer-id doesn't match the peer-id sent in the tracker announce

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.h

    r7251 r7266  
    182182    uint8_t                  obfuscatedHash[SHA_DIGEST_LENGTH];
    183183
     184    /* If the initiator of the connection receives a handshake in which the
     185     * peer_id does not match the expected peerid, then the initiator is
     186     * expected to drop the connection. Note that the initiator presumably
     187     * received the peer information from the tracker, which includes the
     188     * peer_id that was registered by the peer. The peer_id from the tracker
     189     * and in the handshake are expected to match.
     190     */
     191    uint8_t * peer_id;
     192
    184193    /* Where to download */
    185     char *  downloadDir;
     194    char * downloadDir;
    186195
    187196    /* How many bytes we ask for per request */
Note: See TracChangeset for help on using the changeset viewer.