INN commit: trunk (innd/innd.c nnrpd/post.c)
INN Commit
rra at isc.org
Sun Dec 27 19:12:13 UTC 2009
Date: Sunday, December 27, 2009 @ 11:12:13
Author: iulius
Revision: 8865
Mark a few headers as obsolete in nnrpd (therefore, they cannot
be present in posts -- it was already the case for the first
four headers):
NNTP-Posting-Date, NNTP-Posting-Host, X-Complaints-To, X-Trace,
Also-Control, Article-Names, Article-Updates, See-Also.
Also mark these two headers as obsolete in innd (it does not
change anything for innd):
X-No-Archive, NNTP-Posting-Path.
Modified:
trunk/innd/innd.c
trunk/nnrpd/post.c
--------------+
innd/innd.c | 16 ++++++++--------
nnrpd/post.c | 12 ++++++++----
2 files changed, 16 insertions(+), 12 deletions(-)
Modified: innd/innd.c
===================================================================
--- innd/innd.c 2009-12-26 12:24:22 UTC (rev 8864)
+++ innd/innd.c 2009-12-27 19:12:13 UTC (rev 8865)
@@ -75,7 +75,7 @@
/* #define HDR__EXPIRES 4 */
ARTHEADERINIT("From", HTreq),
/* #define HDR__FROM 5 */
- ARTHEADERINIT("Lines", HTstd),
+ ARTHEADERINIT("Lines", HTobs),
/* #define HDR__LINES 6 */
ARTHEADERINIT("Message-ID", HTreq),
/* #define HDR__MESSAGE_ID 7 */
@@ -91,7 +91,7 @@
/* #define HDR__SUBJECT 12 */
ARTHEADERINIT("Supersedes", HTstd),
/* #define HDR__SUPERSEDES 13 */
- ARTHEADERINIT("Bytes", HTstd),
+ ARTHEADERINIT("Bytes", HTobs),
/* #define HDR__BYTES 14 */
ARTHEADERINIT("Also-Control", HTobs),
/* #define HDR__ALSOCONTROL 15 */
@@ -101,7 +101,7 @@
/* #define HDR__XREF 17 */
ARTHEADERINIT("Keywords", HTstd),
/* #define HDR__KEYWORDS 18 */
- ARTHEADERINIT("X-Trace", HTstd),
+ ARTHEADERINIT("X-Trace", HTobs),
/* #define HDR__XTRACE 19 */
ARTHEADERINIT("Date-Received", HTobs),
/* #define HDR__DATERECEIVED 20 */
@@ -113,7 +113,7 @@
/* #define HDR__RECEIVED 23 */
ARTHEADERINIT("Relay-Version", HTobs),
/* #define HDR__RELAYVERSION 24 */
- ARTHEADERINIT("NNTP-Posting-Host", HTstd),
+ ARTHEADERINIT("NNTP-Posting-Host", HTobs),
/* #define HDR__NNTPPOSTINGHOST 25 */
ARTHEADERINIT("Followup-To", HTstd),
/* #define HDR__FOLLOWUPTO 26 */
@@ -157,7 +157,7 @@
/* #define HDR__ORIGINATOR 45 */
ARTHEADERINIT("X-Auth", HTstd),
/* #define HDR__X_AUTH 46 */
- ARTHEADERINIT("X-Complaints-To", HTstd),
+ ARTHEADERINIT("X-Complaints-To", HTobs),
/* #define HDR__X_COMPLAINTS_TO 47 */
ARTHEADERINIT("X-Face", HTstd),
/* #define HDR__X_FACE 48 */
@@ -169,7 +169,7 @@
/* #define HDR__X_MODBOT 51 */
ARTHEADERINIT("X-Modtrace", HTstd),
/* #define HDR__X_MODTRACE 52 */
- ARTHEADERINIT("X-No-Archive", HTstd),
+ ARTHEADERINIT("X-No-Archive", HTobs),
/* #define HDR__X_NO_ARCHIVE 53 */
ARTHEADERINIT("X-Original-Trace", HTstd),
/* #define HDR__X_ORIGINAL_TRACE 54 */
@@ -193,7 +193,7 @@
/* #define HDR__IN_REPLY_TO 63 */
ARTHEADERINIT("Injection-Date", HTstd),
/* #define HDR__INJECTION_DATE 64 */
- ARTHEADERINIT("NNTP-Posting-Date", HTstd),
+ ARTHEADERINIT("NNTP-Posting-Date", HTobs),
/* #define HDR__NNTP_POSTING_DATE 65 */
ARTHEADERINIT("X-User-ID", HTstd),
/* #define HDR__X_USER_ID 66 */
@@ -203,7 +203,7 @@
/* #define HDR__X_ORIGINAL_NNTP_POSTING_HOST 68 */
ARTHEADERINIT("Original-Sender", HTstd),
/* #define HDR__ORIGINAL_SENDER 69 */
- ARTHEADERINIT("NNTP-Posting-Path", HTstd),
+ ARTHEADERINIT("NNTP-Posting-Path", HTobs),
/* #define HDR__NNTP_POSTING_PATH 70 */
ARTHEADERINIT("Archive", HTstd),
/* #define HDR__ARCHIVE 71 */
Modified: nnrpd/post.c
===================================================================
--- nnrpd/post.c 2009-12-26 12:24:22 UTC (rev 8864)
+++ nnrpd/post.c 2009-12-27 19:12:13 UTC (rev 8865)
@@ -48,13 +48,13 @@
{ "Message-ID", true, HTstd, 0, NULL, NULL, 0 },
{ "References", true, HTstd, 0, NULL, NULL, 0 },
{ "Reply-To", true, HTstd, 0, NULL, NULL, 0 },
- { "NNTP-Posting-Host", false, HTstd, 0, NULL, NULL, 0 },
+ { "NNTP-Posting-Host", false, HTobs, 0, NULL, NULL, 0 },
{ "Mime-Version", true, HTstd, 0, NULL, NULL, 0 },
{ "Content-Type", true, HTstd, 0, NULL, NULL, 0 },
{ "Content-Transfer-Encoding", true, HTstd, 0, NULL, NULL, 0 },
- { "X-Trace", false, HTstd, 0, NULL, NULL, 0 },
- { "X-Complaints-To", false, HTstd, 0, NULL, NULL, 0 },
- { "NNTP-Posting-Date", false, HTstd, 0, NULL, NULL, 0 },
+ { "X-Trace", false, HTobs, 0, NULL, NULL, 0 },
+ { "X-Complaints-To", false, HTobs, 0, NULL, NULL, 0 },
+ { "NNTP-Posting-Date", false, HTobs, 0, NULL, NULL, 0 },
{ "Xref", false, HTstd, 0, NULL, NULL, 0 },
{ "Injection-Date", true, HTstd, 0, NULL, NULL, 0 },
{ "Injection-Info", false, HTstd, 0, NULL, NULL, 0 },
@@ -72,6 +72,10 @@
{ "Archived-At", true, HTstd, 0, NULL, NULL, 0 },
{ "Comments", true, HTstd, 0, NULL, NULL, 0 },
{ "Original-Sender", true, HTstd, 0, NULL, NULL, 0 },
+ { "Also-Control", false, HTobs, 0, NULL, NULL, 0 },
+ { "Article-Names", false, HTobs, 0, NULL, NULL, 0 },
+ { "Article-Updates", false, HTobs, 0, NULL, NULL, 0 },
+ { "See-Also", false, HTobs, 0, NULL, NULL, 0 },
};
HEADER *EndOfTable = ARRAY_END(Table);
More information about the inn-committers
mailing list