Changeset 11176

Show
Ignore:
Timestamp:
10/15/09 12:34:11 (5 weeks ago)
Author:
bittorrent
Message:

fixed some typos

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dotorg/trunk/html/beps/bep_0031.rst

    r11175 r11176  
    3333then keep on retrying forever till the user finally gives up. 
    3434 
    35 With a large enough amount of clients this might overwhelm the 
     35With a large enough number of clients this might overwhelm the 
    3636webserver from serving the content that it is really supposed to 
    3737perform. 
     
    6060which don't support this extension. 
    6161 
    62 The new field "retry in" specifies the amount of minutes in which 
     62The new field "retry in" specifies the number of minutes in which 
    6363a retry can be done for this tracker. This field is either a positive 
    6464integer or the value "never". The latter specifies that the client 
     
    6969(PHP style) 
    7070 
    71 Return that the server is overloaded: 
    72 <?php 
    73 bencode(array( 
    74         "failure reason"        => "Overloaded", 
    75         "retry in"              => "5" 
    76         )); 
    77 ?> 
     71Return that the server is overloaded:: 
    7872 
    79 Return that the server is not a tracker 
    80 <?php 
    81 bencode(array( 
    82         "failure reason"        => "Not a tracker", 
    83         "retry in"              => "never" 
    84         )); 
    85 ?> 
     73        <?php 
     74        bencode(array( 
     75                "failure reason"        => "Overloaded", 
     76                "retry in"              => "5" 
     77                )); 
     78        ?> 
     79 
     80Return that the server is not a tracker:: 
     81 
     82        <?php 
     83        bencode(array( 
     84                "failure reason"        => "Not a tracker", 
     85                "retry in"              => "never" 
     86                )); 
     87        ?> 
    8688 
    8789The result of both can be stored in static files and 'cheaply'