malformed overview! batches

Russ Allbery rra at stanford.edu
Mon Jan 22 08:26:00 UTC 2001


Olaf Titz <olaf at bigred.inka.de> writes:

> That helps to _detect_ corrupted lines, but especially in the case of
> overchan (like with innfeed) corrupted lines effectively mean lost
> articles and therefore we rather want to _avoid_ them.

We should already be able to identify truncated entries anyway since
they're missing the trailing newline.  We should throw any such line
away if we don't already.

> A possible way would be to buffer one "message" to the channel and in
> case of spooling, write the whole message (i.e. header, in case of
> overchan; line, otherwise) again to the spool file. I don't know how
> complicated that would be.

I think this is the right approach, and it shouldn't be too hard to do.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the inn-workers mailing list