Article View: news.software.nntp
Article #44501Re: Batched ARTICLE commands
From: Curt Welch
Date: Sat, 26 Feb 2000 00:00
Date: Sat, 26 Feb 2000 00:00
93 lines
5596 bytes
5596 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote: > >>>>> "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). Return codes are something I find problems with for many commands. There are various error conditions where it is unclear what should be returned by reading the RFC. For example, for ARTICLE/HEAD/BODY what return code do you return when they ask for an article which has been canceled? The options are: 423 no such article number in this group or 430 no such article found It looked to me from the RFC like 430 would be the better choice. And that 423 would be used if the article number specified was out of range. But INN returns 423 for canceled articles and I found at least one newsreader which couldn't deal with the 430 return (the newsreader was broken here -- but this demonstrates the problems that arrise by not being more specific about return codes). And on your PAT example, I added this return code in my implementation: 501 remove : from header argument which happens if the colon is added to the end of the header argument. I think this is probably close to the same issue you are trying to address... Almost all the commands my have error returns that aren't currently documented in the RFC -- stuff which cuases the command to fail some type of semantic test like an invalid group name or message-id, or number. The RFC doesn't address how the server and/or client should deal with that. Clients would have a hard time telling the difference between a semantic problem (such as an invalid header argument) and a command not implemented - both which tend to return codes in the 5xx range. > 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. I'd be all for that if someone (you?) were willing to take the lead in getting all that serious discussion into a draft. If no one was doing that, then we would just be wasting our time with the discussion. I'd be happy to help out with the creation of an "unoffical" draft NNTP. If the offical channels aren't getting the job done and someone is willing to make an unoffical approach work, I'd be happy with that. I also think the NNTP issues are much easier to resolve than say the USEFOR issues. So I don't think we are talking about all that much work. It looks like most of them have been correctly addressed in the current draft. > 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. That's a valid posiblility. But like I just wrote in another article, I don't think the RFC should address that unless we know for sure that there is a server which actually has that problem. I don't think it should be added to the RFC just because it could be a problem. That just oppens the door to allow people to write what I think of as a buggy server. > 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. Ok, so we don't read it the same way. That just demonstrates the need to improve the RFC. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20000226160741.777$zY@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-mailReferences:
<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> <8766vbg47q.fsf@erlenstar.demon.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <20000226160741.777$zY@newsreader.com>
Subject: Re: Batched ARTICLE commands
Date: Sat, 26 Feb 2000 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
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> <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
X-Deja-AN: 590379452
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-User: Curt@NewsReader.Com
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.nntp