INN commit: trunk (doc/pod/distributions.pod samples/distributions)

INN Commit rra at isc.org
Tue Nov 10 23:12:36 UTC 2009


    Date: Tuesday, November 10, 2009 @ 15:12:36
  Author: iulius
Revision: 8730

"all" and "world" distributions should not be used according
to USEFOR (RFC 5536).

Fix the doc:  when the distributions file is missing, 503 is
returned, not an empty answer.

Modified:
  trunk/doc/pod/distributions.pod
  trunk/samples/distributions

---------------------------+
 doc/pod/distributions.pod |    8 ++++----
 samples/distributions     |    3 ---
 2 files changed, 4 insertions(+), 7 deletions(-)

Modified: doc/pod/distributions.pod
===================================================================
--- doc/pod/distributions.pod	2009-11-08 20:00:44 UTC (rev 8729)
+++ doc/pod/distributions.pod	2009-11-10 23:12:36 UTC (rev 8730)
@@ -15,12 +15,10 @@
 Each line of this file consists in a distribution area followed by
 its description after at least a whitespace.  For instance:
 
-    all     Everywhere:  it is a worldwide distribution.
     fr      Local to France.
     local   Local to this news server.
     nj      Local to New Jersey.
     usa     Local to the United States of America.
-    world   Everywhere:  it is a worldwide distribution.
 
 Blank lines and lines beginning with a number sign (C<#>) are ignored.
 
@@ -29,8 +27,10 @@
 LIST DISTRIBUTIONS command is not widespread and most news clients will
 never ask for this file.
 
-If this file is missing, it is not an error.  The server will just send
-the client an empty response.
+If this file is empty, it is not an error.  The server will just send
+the client an empty response.  And if the file is missing, the server
+will also send the client an appropriate response to indicate that
+the distributions list is not maintained on the server.
 
 The Distribution: header can also be automatically set by B<nnrpd>
 if distrib.pats(5) is correctly configured.

Modified: samples/distributions
===================================================================
--- samples/distributions	2009-11-08 20:00:44 UTC (rev 8729)
+++ samples/distributions	2009-11-10 23:12:36 UTC (rev 8730)
@@ -5,10 +5,7 @@
 ##  It contains recommended values for the Distribution: header.
 ##  See the distributions man page for more information.
 
-#all     Everywhere:  it is a worldwide distribution.
 #fr      Local to France.
 #local   Local to this news server.
 #nj      Local to New Jersey.
 #usa     Local to the United States of America.
-#world   Everywhere:  it is a worldwide distribution.
-




More information about the inn-committers mailing list