🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44669

Re: Batched ARTICLE commands

#44669
From: Curt Welch
Date: Wed, 01 Mar 2000 00:00
46 lines
3052 bytes
davidsen@tmr.com (bill davidsen) wrote:
>   If something isn't specified, how can you read a requirement that it
> work?

You can't.  But pipelining of commands in NNTP is specified.  Some people
just don't know how to read an RFC.

> The RFC doesn't address the issue, and I would read the
> request-response protocol to mean that the client should wait.

Like I said.  Some people don't know how to read an RFC.  Where
does it say wait?

If it doesn't specify a wait, how can you read a requirement that it
must do so?

I agree with you and the "others" that the natural asumption for a protocol
like this is that the client waits.  But that's just because that's how we
think about these things, and how we (normally) write the software.  And
because the RFC says nothing to get us out of that train of thought, people
reading the RFC can be confused.  The authors of the RFC might not even
have given the issue much though.  The authors might just have assumed that
the client would always be waiting.

However, whatever the intent, the RFC they ended up with does define a
protocol that allows the client to pipeline commands.  And that's the point
I've been trying to get across in this thread.

Given the _fact_ that this protocol is based on a TCP/IP connection, a
"reliable data stream" -- i.e. one which guarantees the server receives
_every_ byte the client decides to send, the only way pipelining could fail
to work, is if the server failed to do it's job of parsing the input stream
into commands and data, and responding to each and every command sent by
the client.

And sure enough, the reason pipelining doesn't work sometimes in the real
world is just that.  The server just decides that it's OK, to take that
"reliable data stream" as specified in the RFC, and turn it into an
"unreliable data stream".  I can hear the server now, "Hey! No fair! You
sent that when I wasn't looking!".  Right, tell it to the judge...

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <20000229233555.290$eO@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
References: <220220000104304154%planb@newsreaders.com> <87zosog8kl.fsf@erlenstar.demon.co.uk> <250220002137494912%planb@newsreaders.com> <bill-2602001125570001@192.168.254.8> <89hm53$bd1$1@newssvr02.news.prodigy.com>

Show Full Headers
Complete Article Headers
Message-ID: <20000229233555.290$eO@newsreader.com>
Subject: Re: Batched ARTICLE commands
Date: Wed, 01 Mar 2000 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <220220000104304154%planb@newsreaders.com> <87zosog8kl.fsf@erlenstar.demon.co.uk> <250220002137494912%planb@newsreaders.com> <bill-2602001125570001@192.168.254.8> <89hm53$bd1$1@newssvr02.news.prodigy.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: 591614329
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