🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44601

Re: [NNTP Draft] 7. The GREETING Step (and MODE READER)

#44601
From: Jeremy
Date: Mon, 28 Feb 2000 00:00
40 lines
2622 bytes
Curt Welch <curt@kcwc.com> wrote:

> My server works fine like that without MODE READER so no, it doesn't
> rule it out at all.  It's a simple matter to build a new server which
> does both on the same port (and in the same process).

I don't see any reason to require, or even encourage, this entire protocol
to have to be implemented within one process.  Having different processes
for feeding and reading makes a lot of sense.

> And, if you really really wanted to build a split process design server,
> and run them on the same port, and support feeds and readers from some
> of the same IP addresses, you could still make it work by having the
> feed processes fork the reader process the first time it saw one of
> the READER commands.  It then passes any buffered data from the stream
> off to the reader (open a second pipe to do that a start up) and it all
> works fine.  No pipeline restrictions and no MODE READER command.

Okay, so if you can do that, why not have the server fork when it gets
a MODE READER and pass the buffered data to the child?  This makes a lot
more sense to me than just waiting for a reader command.  The two processes
might overlap in what parts of NNTP they support, and it's possible at the
beginning of a session that only the client will know how it intends to
behave during that session.

You're just on a jihad against MODE READER, aren't you?

> But most important, why would using two ports be a problem for anyone?

I think it would be less of a problem now than when INN was designed.
But there's going to be quite a lot of inertia to overcome.  We will need
servers that listen on *both* ports during the transition period, most
likely.  I know I don't get a warm and fuzzy feeling at the thought of an
instant conversion of my hundreds of peers to a new port all at the same
time.

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Technical Details
Message-ID: <951696152.729205@news.netscum.dk>
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: <87putjd35j.fsf@erlenstar.demon.co.uk> <20000227153501.392$9I@newsreader.com> <951684680.477524@news.netscum.dk> <20000227174214.334$Gs@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <951696152.729205@news.netscum.dk>
Subject: Re: [NNTP Draft] 7. The GREETING Step (and MODE READER)
Date: Mon, 28 Feb 2000 00:00:00 +0000
From: Jeremy <bofh@netscum.dk>
References: <87putjd35j.fsf@erlenstar.demon.co.uk> <20000227153501.392$9I@newsreader.com> <951684680.477524@news.netscum.dk> <20000227174214.334$Gs@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: 590639927
Organization: There Is No Organization
X-Meow: Meow
Newsgroups: news.software.nntp