Changeset 7196


Ignore:
Timestamp:
Nov 30, 2008, 1:15:43 AM (10 years ago)
Author:
charles
Message:

annotate the ut_pex message to (1) take partial seeds into account, and (2) tell not to send periodic pex messages when there are no added or dropped peers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/extended-messaging.txt

    r3237 r7196  
    2929dictionary.  If the uTorrent peer has pex disabled, this key
    3030will not be present.  Exchanges messages should be sent approximately
    31 once every minute.  The payload of a peer exchange message is a
     31once every minute when peers have been added or dropped.
     32
     33If peers have not been added or dropped, uTorrent does not send
     34the periodic PEX message.  If uTorrent 1.8.1 recieves an "empty"
     35pex message from Transmission 1.40, it appears to interpret this
     36as an invalid message and disconnect from Transmission.
     37
     38The payload of a peer exchange message is a
    3239bencoded dictionary with the following keys:
    3340
     
    4148        according to libtorrent's ut_pex.c:
    4249        0x01 - peer supports encryption
    43         0x02 - peer is a seed
     50        0x02 - peer is a seed or a partial seed
    4451
    4552    dropped
Note: See TracChangeset for help on using the changeset viewer.