INN commit: branches/2.5 (2 files)

INN Commit rra at isc.org
Sun Nov 15 09:29:16 UTC 2009


    Date: Sunday, November 15, 2009 @ 01:29:16
  Author: iulius
Revision: 8800

"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:
  branches/2.5/doc/pod/distributions.pod
  branches/2.5/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-15 09:29:06 UTC (rev 8799)
+++ doc/pod/distributions.pod	2009-11-15 09:29:16 UTC (rev 8800)
@@ -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-15 09:29:06 UTC (rev 8799)
+++ samples/distributions	2009-11-15 09:29:16 UTC (rev 8800)
@@ -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