🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44602

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

#44602
From: Curt Welch
Date: Mon, 28 Feb 2000 00:00
24 lines
2080 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Curt Welch <curt@kcwc.com> writes:
>
> > 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.
>
> If I were actually implementing this, BTW, I'd use file descriptor
> passing.  Much easier than playing with multiple pipes.  And it's not a
> bad design, although just using a different port is cleaner.

To tell the truth, if I "had" to write a split server design for a single
port, I'd just implement MODE READER.  But don't tell anyone I said that
:).

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

Technical Details
Message-ID: <20000228173737.828$GE@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: <87putjd35j.fsf@erlenstar.demon.co.uk> <20000227020316.568$F6@newsreader.com> <951678903.5542@news.netscum.dk> <20000227153501.392$9I@newsreader.com> <951684680.477524@news.netscum.dk> <20000227174214.334$Gs@newsreader.com> <yl66v9qtx9.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <20000228173737.828$GE@newsreader.com>
Subject: Re: [NNTP Draft] 7. The GREETING Step (and MODE READER)
Date: Mon, 28 Feb 2000 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <87putjd35j.fsf@erlenstar.demon.co.uk> <20000227020316.568$F6@newsreader.com> <951678903.5542@news.netscum.dk> <20000227153501.392$9I@newsreader.com> <951684680.477524@news.netscum.dk> <20000227174214.334$Gs@newsreader.com> <yl66v9qtx9.fsf@windlord.stanford.edu>
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: 591048130
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