Changeset 10561

Show
Ignore:
Timestamp:
02/06/2008 10:01:00 AM (11 months ago)
Author:
arvid
Message:

updates to make file to refer to the tempalte.txt. Fixed broken links in bep 0000. Updated wording and added references to metadata extension. Fixed layout of bep 0004

Location:
dotorg/trunk_fixed/html/beps
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • dotorg/trunk_fixed/html/beps/bep_0000.rst

    r10528 r10561  
    5656.. |8| replace:: :raw-html:`<A HREF="bep_0008.html">8</A>` 
    5757.. |9| replace:: :raw-html:`<A HREF="bep_0009.html">9</A>` 
    58 .. |10| replace:: :raw-html:`<A HREF="bep_0009.html">10</A>` 
     58.. |10| replace:: :raw-html:`<A HREF="bep_0010.html">10</A>` 
    5959.. |1000| replace:: :raw-html:`<A HREF="bep_1000.html">1000</A>` 
  • dotorg/trunk_fixed/html/beps/bep_0004.rst

    r10528 r10561  
    2424 
    2525 reserved[5] 
    26  0x10  LTEP (LibTorrent Extension Protocol) 
     26 0x10  LTEP (Libtorrent Extension Protocol) 
    2727 
    2828 reserved[7] 
     
    4545 0x07   piece 
    4646 0x08   cancel 
     47 
     48 DHT Extension: 
    4749 0x09   port 
    4850 
    49  Fast Extensions 
    50  
     51 Fast Extensions: 
    5152 0x0D   suggest 
    5253 0x0E   have all 
     
    5556 0x11   allowed fast 
    5657 
    57  Additional IDs used in deployed clients 
     58 Additional IDs used in deployed clients: 
    5859 0x14   LTEP Handshake (implemented in libtorrent, uTorrent,...) 
     60 
    5961 
    6062  
  • dotorg/trunk_fixed/html/beps/bep_0009.rst

    r10528 r10561  
    2323part of the .torrent file is referred to as *the metadata*. 
    2424 
    25 The metadata is plit up in 16kiB pieces. The pieces are indexed starting 
    26 from 0 for the first 16kiB of metadata. 
     25The metadata is handled in bocks of 16KiB (65536 Bytes). The metadata blocks 
     26are indexed starting at 0. All blocks are 16KiB except the last block which may 
     27be smaller. 
    2728 
    2829extension header 
    2930================ 
    3031 
    31 The metadata extension uses the `extension protocol`_ to advertize its 
    32 existence. It adds the "ut_metadata" entry to the "m" dictionary in the 
    33 extension header hand-shake message. This identifies the message code 
    34 used for this message. It also adds "metadata_size" to the handshake 
    35 message (not the "m" dictionary) specifying an integer value of the 
     32The metadata extension uses the extension protocol (specified in `BEP 0010`_ 
     33) to advertize its existence. It adds the "ut_metadata" entry to the "m" 
     34dictionary in the extension header hand-shake message. This identifies the 
     35message code used for this message. It also adds "metadata_size" to the 
     36handshake message (not the "m" dictionary) specifying an integer value of the 
    3637number of bytes of the metadata. 
    3738 
    38 .. _`extension protocol`: extension_protocol.html 
     39.. _`BEP 0010`: http://www.bittorrent.org/beps/bep_0010.html 
    3940 
    4041Example extension handshake message:: 
     
    120121 
    121122<info-hash> 
    122         Is the info-hash encoded as base32. 
     123        Is the info-hash encoded as base32 [#base32]_ 
    123124 
    124125``xt`` is the only mandatory parameter. ``dn`` is the display name that may be 
     
    129130Both ``dn`` and ``tr`` are optional. 
    130131 
    131 If no tracker is specified, the client SHOULD use the DHT to acquire peers. 
     132If no tracker is specified, the client SHOULD use the DHT (`BEP 0005`_) to acquire peers. 
    132133 
     134.. [#base32] http://www.ietf.org/rfc/rfc3548.txt 
     135.. _`BEP 0005`: bep_0005.html 
    133136 
    134137  
  • dotorg/trunk_fixed/html/beps/makefile

    r10540 r10561  
    1717 
    1818%.html:%.rst_post 
    19         rstbep2html.py --template=template.txt --pep-base-url=http://www.bittorrent.org/beps/ --cloak-email-addresses --link-stylesheet --stylesheet=../css/bep.css --no-toc-backlinks $? >$@ --traceback 
     19        rstbep2html.py --template=../template.txt --pep-base-url=http://www.bittorrent.org/beps/ --cloak-email-addresses --link-stylesheet --stylesheet=../css/bep.css --no-toc-backlinks $? >$@ --traceback 
    2020 
    2121%.rst_post: %.rst 
    22         postprocess.py $? > $@  
     22        python postprocess.py $? > $@  
    2323 
    2424#%.html:%.rst