🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #65609

Re: Netscape Collabra bug?

#65609
From: Mark Crispin
Date: Wed, 04 Jun 2003 03:25
54 lines
3504 bytes
[Please respond in email, since I normally don't read this newsgroup]

On Tue, 3 Jun 2003, Russ Allbery wrote:
> > This server responds to an OVER command with the expected 224 response,
> > followed by a line consisting of "Subject:From:Date:Bytes:Lines",
> > followed by overview data which does not contain the Message-ID and
> > References.
> That's a new one on me.  That sounds incredibly broken.  I've never heard
> of an OVER proposal that did that.

You can try it for yourself.  The server is secnews.netscape.com,
newsgroup netscape.test.

I'm glad to hear that I'm not off-base by claiming that this behavior is
broken.

This behavior broke the latest version of Pine.  I put in a considerable
amount of effort to make Pine be much faster with NNTP than previous
versions, not to mention implementing to the NNTPEXT base specification
draft.

So what happens after we release it?  It's much slower with Netscape
Collabra, since it uses OVER instead of XOVER, discovers that the
Message-IDs and References are no good and there are no sizes, so it falls
back to the ancient RFC 1036 behavior of fetching every article...

Of course, it doesn't help to say that it isn't our fault; as far as the
user is concerned we broke it.  :-(

> The only OVER implementations I was aware of before this one were just
> XOVER under a different name and behaved the same way.

That was my assumption.

So, I've written a workaround that does the following: since "OVER 0"
doesn't return an error (it just returns no articles), I do that and see
what comes back.  If I get back the normal 224 response, then I see if I
get back any lines before the terminating "." line that start with a
non-digit.  If so, I disable the "use OVER" flag, and use XOVER instead.
Of course, I only do this test once per session.

Does this seem to be OK?

Implementing for NNTP is very frustrating.  Every time I come up with an
optimal strategy that makes Pine fly with a server, some other server
comes up which tricks Pine into worst-case behavior.  It seems that there
are multiple NNTP "standards".  I very much look forward for the NNTPEXT
base document to come out and be considered the One True Standard.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Technical Details
Message-ID: <Pine.WNT.4.56.0306032014250.1820@Shimo-Tomobiki.Panda.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.u.washington.edu!140.142.17.34.MISMATCH!news.u.washington.edu!Shimo-Tomobiki.Panda.COM!MRC
References: <Pine.LNX.4.56.0306031445190.16820@shiva1.cac.washington.edu> <ylwug21r14.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.WNT.4.56.0306032014250.1820@Shimo-Tomobiki.Panda.COM>
Subject: Re: Netscape Collabra bug?
Date: Tue, 3 Jun 2003 20:25:40 -0700
From: Mark Crispin <MRC@CAC.Washington.EDU>
References: <Pine.LNX.4.56.0306031445190.16820@shiva1.cac.washington.edu> <ylwug21r14.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.u.washington.edu!140.142.17.34.MISMATCH!news.u.washington.edu!Shimo-Tomobiki.Panda.COM!MRC
Newsgroups: news.software.nntp
Organization: Networks & Distributed Computing
Lines: 53
Sender: mrc@ndcms.cac.washington.edu
NNTP-Posting-Host: nntp1.u.washington.edu
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Trace: nntp6.u.washington.edu 1054697151 78732 (None) 140.142.17.37
X-Complaints-To: help@cac.washington.edu
To: Russ Allbery <rra@stanford.edu>
In-Reply-To: <ylwug21r14.fsf@windlord.stanford.edu>