🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82375

Re: Incorrect lines count in $hdr{__LINES__}

#82375
From: Julien ÉLIE
Date: Fri, 18 Dec 2009 20:27
26 lines
2304 bytes
Hi Steve,

> Whilst scanning through some Cleanfeed logs for today, I noticed a
> number of misplaced binaries that had not been trapped by Cleanfeed's
> is_binary routine.  I believe the reason for this is that
> $hdr{__LINES__} in every instance was returning 7 instead of the actual
> 2000-3000 lines in the posting.

Do you have a sample of such an article?
I tried to "telnet news.mixmin.net 119" but the reported message-ID does
not exist any longer.

Especially, the next time you see that, could you please see how many lines
are reported by an OVER request on it?


What I think is happening is that these articles are malformed and contain
only "\n" as line delimitors, and not "\r\n".  But only a careful inspection
of these articles will tell us.
If that is not the case, I do not see well why $hdr{__LINES__} would be wrong :-/

-- 
Julien ÉLIE

« Ne craignez pas d'être lent, craignez seulement d'être à l'arrêt. » 
Technical Details
Message-ID: <hggok5$u3p$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
References: <slrnhindf5.mt9.steve@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <hggok5$u3p$1@news.trigofacile.com>
Subject: Re: Incorrect lines count in $hdr{__LINES__}
Date: Fri, 18 Dec 2009 21:27:46 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <slrnhindf5.mt9.steve@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 26
NNTP-Posting-Host: amontpellier-159-1-62-153.w83-197.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="Windows-1252";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1261168069 30841 83.197.141.153 (18 Dec 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Fri, 18 Dec 2009 20:27:49 +0000 (UTC)
Injection-Date: Fri, 18 Dec 2009 20:27:49 +0000 (UTC)
In-Reply-To: <slrnhindf5.mt9.steve@news.mixmin.net>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6002.18005
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005