- Timestamp:
- 10/15/09 12:34:11 (5 months ago)
- Files:
-
- 1 modified
-
dotorg/trunk/html/beps/bep_0031.rst (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dotorg/trunk/html/beps/bep_0031.rst
r11175 r11176 33 33 then keep on retrying forever till the user finally gives up. 34 34 35 With a large enough amountof clients this might overwhelm the35 With a large enough number of clients this might overwhelm the 36 36 webserver from serving the content that it is really supposed to 37 37 perform. … … 60 60 which don't support this extension. 61 61 62 The new field "retry in" specifies the amountof minutes in which62 The new field "retry in" specifies the number of minutes in which 63 63 a retry can be done for this tracker. This field is either a positive 64 64 integer or the value "never". The latter specifies that the client … … 69 69 (PHP style) 70 70 71 Return that the server is overloaded: 72 <?php 73 bencode(array( 74 "failure reason" => "Overloaded", 75 "retry in" => "5" 76 )); 77 ?> 71 Return that the server is overloaded:: 78 72 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 80 Return 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 ?> 86 88 87 89 The result of both can be stored in static files and 'cheaply'