🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44452

Re: Batched ARTICLE commands

#44452
From: Andrew Gierth
Date: Sat, 26 Feb 2000 00:00
74 lines
4680 bytes
>>>>> "Curt" == Curt Welch <curt@kcwc.com> writes:

 Curt> We both have a good understanding of the reality of all this,
 Curt> but I'd like to go further into my views on this semantic
 Curt> issue. I think it shbould be important to those people updating
 Curt> the RFC (which you seem to be a part of).

I joind the mailing list to try and get some specific ambiguities
resolved, but as Russ said there seems to be little real work done on
that list, only at IETF meetings (which I have not yet managed to
attend). Worse, the decisions taken at meetings are not being defended
on the list. Even worse, issues that have been raised on the list, and
have apparently been included on the agenda for meetings, have not been
resolved in any sort of meaningful fashion (the question of what error
to return for PAT on an unsupported header is as obscure now as when I
first raised the issue).

I'm tempted to do what Jonathan Grobe did - post a copy of the latest
draft here in sections and try and start a serious discussion.

 >> But to say that the current RFC requires that it work is nonsense
 >> - the RFC is simply silent on the issue. [of pipelining commands]

 Curt> I think you are wrong there.  You are right that it doesn't
 Curt> discuss the issue, but I think by not discussing it, it manages
 Curt> to clearly require that pipeling be supported.

One could say the same of SMTP, whose RFC also does not discuss it, but
which in practice does not support pipelining.

 Curt> Nowhere in the RFC does it talk about the timing of this
 Curt> interaction.  Nowhere does it give any hint or implication that
 Curt> it would be OK for the server to just ignore characters in the
 Curt> incomming "reliable data stream".

And nowhere does it give any hint or implication that the client is
permitted to send further commands before receiving the server's
response.

Even the reference implementation fails to pipeline in all cases - you
can't reliably pipeline any command with the trailing '.' line of a
posted article, since nntpd spawns inews to accept the post.

 Curt> So, either we need to change the RFC to document this INN bug
 Curt> as acceptable behavior (which from what you say seems to be
 Curt> what they did with SMTP because of a similar bug in sendmail)

The SMTP thing is documented in RFC2197. In that case it was simply a
question of recognizing the fact that RFC821 did not specify the matter
one way or the other, that existing implementations did not handle
pipelining adequately, and that if it was to be used it was therefore
necessary to define it as a service extension and clarify the required
semantics.

 Curt> But POST and IHAVE can't be because of logical protocol reasons
 Curt> --- i.e.  the client has to wait for the response before it can
 Curt> know what will be acceptable next in the data stream.  The RFC
 Curt> clearly implies that already.  Nothing else really needs to be
 Curt> said there.

What about the question of pipelining a command after the article data
for POST? That fails on the reference implementation, despite the fact
that there are no logical protocol reasons why it should.

 Curt> But, the RFC, as written, implies that it is valid for a client
 Curt> to pipeline commands.

And as I've said, this is merely your interpretation, not something
which is actually present in the RFC.

-- 
Andrew.

Technical Details
Message-ID: <8766vbg47q.fsf@erlenstar.demon.co.uk>
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!not-for-mail
References: <220220000104304154%planb@newsreaders.com> <240220000054115493%planb@newsreaders.com> <20000225004139.313$nK@newsreader.com> <250220001158002643%planb@newsreaders.com> <20000225125610.123$Ow@newsreader.com> <yl6itzdjb0r.fsf@independence.ecn.ou.edu> <20000225162640.211$2M@newsreader.com> <87n1opgdej.fsf@erlenstar.demon.co.uk> <20000225180328.114$Ys@newsreader.com> <87zosog8kl.fsf@erlenstar.demon.co.uk> <20000225234216.661$0Y@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <8766vbg47q.fsf@erlenstar.demon.co.uk>
Subject: Re: Batched ARTICLE commands
Date: Sat, 26 Feb 2000 00:00:00 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <220220000104304154%planb@newsreaders.com> <240220000054115493%planb@newsreaders.com> <20000225004139.313$nK@newsreader.com> <250220001158002643%planb@newsreaders.com> <20000225125610.123$Ow@newsreader.com> <yl6itzdjb0r.fsf@independence.ecn.ou.edu> <20000225162640.211$2M@newsreader.com> <87n1opgdej.fsf@erlenstar.demon.co.uk> <20000225180328.114$Ys@newsreader.com> <87zosog8kl.fsf@erlenstar.demon.co.uk> <20000225234216.661$0Y@newsreader.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!not-for-mail
X-Deja-AN: 590359781
X-Mayan-Date: Long count = 12.19.6.17.16; tzolkin = 13 Cib; haab = 4 Kayab
X-Complaints-To: andrew@erlenstar.demon.co.uk
Organization: disorganised
X-Attribution: AG
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-P-Persistent-Headers: are a bad idea.
Newsgroups: news.software.nntp
X-Post-Filter: postfilter v0.6 alpha