Article View: news.software.nntp
Article #44473Re: Batched ARTICLE commands
From: J. Moreno
Date: Sat, 26 Feb 2000 00:00
Date: Sat, 26 Feb 2000 00:00
37 lines
2402 bytes
2402 bytes
In article <20000226162848.241$4u@newsreader.com>, Curt Welch <curt@kcwc.com> wrote: > Jeremy <bofh@netscum.dk> wrote: > > Curt Welch <curt@kcwc.com> wrote: > > > > > And example of how this might cause probelms... > > > > > > A client author decides to do a "MODE READER" followed by a > > > "DATE" command on start up. He sends both before reading the > > > results. > > > > I think that's a broken client. MODE READER is a command which can > > fail, and therefore, if a client proceeds onward without seeing > > whether it has failed, it's broken. You shouldn't assume that a > > command has succeeded when it is not guaranteed to do so. > > MODE READER is a non standard command which can fail simply because > the server doesn't implement it. Clients should never assume > anything about the return codes from it. > > The reason clients must wait for the return code is not to see what > the server said, but simply because INN has a bug where it might eat > any pipelined characters there. Reading what Andrew posted about MODE READER, I notice that it doesn't say anything about what NNTP commands may or may not be accepted after issuing the MODE READER command, except for saying that it may refuse to accept POST commands. So, as it is, I think I have to agree with you... -- J. B. Moreno Pessimist: Half empty Optimist: Half full Engineer: Wrong size glass
Technical Details
Message-ID:
<260220001923211076%planb@newsreaders.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> <20000225180328.114$Ys@newsreader.com> <87zosog8kl.fsf@erlenstar.demon.co.uk> <20000225234216.661$0Y@newsreader.com> <951591707.545691@news.netscum.dk> <20000226162848.241$4u@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <260220001923211076%planb@newsreaders.com> Subject: Re: Batched ARTICLE commands Date: Sat, 26 Feb 2000 00:00:00 +0000 From: "J. Moreno" <planb@newsreaders.com> References: <220220000104304154%planb@newsreaders.com> <20000225180328.114$Ys@newsreader.com> <87zosog8kl.fsf@erlenstar.demon.co.uk> <20000225234216.661$0Y@newsreader.com> <951591707.545691@news.netscum.dk> <20000226162848.241$4u@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: 590433679 Content-transfer-encoding: 8bit Mail-Copies-To: nobody Content-Type: text/plain; charset=ISO-8859-1 X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8 N*x>d^h Organization: BOFH wannabe MIME-Version: 1.0 User-Agent: YA-NewsWatcher/5.0.0 Newsgroups: news.software.nntp