count single \r or \n as \r\n while checking line length against MAXHEADERSIZE

Julien ÉLIE julien at trigofacile.com
Fri Oct 29 18:25:15 UTC 2010


Hi Florian,

> please find below the complete patch. I have been running with it on our
> feeder for a month now without issues.
>
> Subject: [PATCH] innd/art.c, nnrpd/post.c: check MAXARTLINELENGTH in nnrpd, not innd
>
> this patch means reverting my previous "CRwithoutLF" patch and also
> ripping out all length checking and both unsigned long length as well as
> data->LastCRLF

Ack.  Committed.
Thanks again!

===================================================================
--- doc/pod/news.pod    (révision 9135)
+++ doc/pod/news.pod    (copie de travail)
@@ -149,9 +149,11 @@

 =item *

-A single header field line is limited to 998 bytes, per S<RFC 5536>.
-B<innd> was previously accepting, and also generating Xref: header field
-lines, up to 1022 bytes.
+A single header field line is limited to 998 bytes, per S<RFC 5536>.  B<innd>
+was previously accepting, and also generating Xref: header field lines,
+up to 1022 bytes.  Now, B<nnrpd> (acting as an injecting agent) rejects
+articles which contain header field lines whose length exceeds 998 bytes.
+And B<innd> (acting as a relaying or serving agent) no longer checks that.

-- 
Julien ÉLIE

« If your dog is barking at the back door and your wife yelling
  at the frontdoor, who do you let in first?
  The dog of course... at least he'll shut up after you
  let him in! » 




More information about the inn-workers mailing list