Expires: header

Heiko Schlichting inn-workers at fu-berlin.de
Sun Jan 31 18:36:42 UTC 2010


There are several notes about Expires: headers on my list but I didn't test
it for a long time (since modifying INN for news.individual.net). I do not
have a test installation at hand to test with INN 2.5. Maybe everything is
already as it should.

Just thress questions to think about:

- How does inn handle articles with Expires: date in the past feeded by
  peers?
- How does nnrpd handle articles with Expires: date in the past during
  POST/IHAVE?
- Does nnrpd offer articles with Expires: date in the past to readers?

Additional:
expire.ctl manpage should use examples with reasonable limits for min/max
of Expire: headers. I propose some values in the attached patch. Maybe min
should be even 0 instead of 1. As many people copy configurations from
manpage examples, more reasonable limits could be useful. Ok, not
important.

Heiko

Heiko Schlichting          Freie Universität Berlin
heiko at CIS.FU-Berlin.DE     Zentraleinrichtung für Datenverarbeitung (ZEDAT)
Telefon +49 30 838-54327   Fabeckstraße 32
Telefax +49 30 838454327   14195 Berlin
-------------- next part --------------
commit a8b5030a9d372a3d1eddc15e092ebcbcd2c354cc
Author: Heiko Schlichting <heiko at fu-berlin.de>
Date:   Sun Jan 31 00:16:51 2010 +0100

    expire.ctl manpage should use examples with reasonable limits for min/max of Expire: headers

diff --git a/doc/pod/expire.ctl.pod b/doc/pod/expire.ctl.pod
index 4948b43..862633a 100644
--- a/doc/pod/expire.ctl.pod
+++ b/doc/pod/expire.ctl.pod
@@ -148,7 +148,7 @@ When I<groupbaseexpiry> is true (the default):
     *:M:1:30:365
 
     # Keep local groups for a long time and local project groups forever.
-    example.*:A:90:90:90
+    example.*:A:1:90:90
     example.project.*:A:never:never:never
 
 When I<groupbaseexpiry> is false, for class-based expiration:
@@ -156,11 +156,13 @@ When I<groupbaseexpiry> is false, for class-based expiration:
     # Keep expired article history for 11 days, matching artcutoff plus one.
     /remember/:11
 
-    # Set a default expiration of seven days.
-    *:7:7:7
+    # Set a default expiration of seven days and honor Expires: headers
+    # within reasonable limits.
+    *:1:7:35
 
-    # Class 0 is retained for two weeks.
-    0:14:14:14
+    # Class 0 is retained for two weeks and honor Expires: headers
+    # within reasonable limits.
+    0:1:14:65
 
 =head1 HISTORY
 


More information about the inn-workers mailing list