🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #8847

Re: idea: pre-spawned nnrpds

#8847
From: Joe Greco
Date: Thu, 27 Jun 1996 00:00
35 lines
2106 bytes
In news.software.nntp article <4qnqci$2i3@twwells.com>, bill@twwells.com (T. William Wells) wrote:
:In article <4q8vnk$q6d@brasil.moneng.mei.com>,
:Joe Greco <jgreco@brasil.moneng.mei.com> wrote:
:: That change is obviously trivial  ;-)  However, if you have any other
:: "useful" modifications or changes, please send them back to me!  I'm
:: looking to make it into a more flexible tool...  I have a number of things I
:: plan to incorporate.
:
:What I mostly did to connectd was to trim out all the cruft. 

Pardon me?

Cruft?

WHAT cruft?  :-)  Well socket.c may have some cruft and some bugs too, but
in general connectd is a very terse, featureless bit of code...  I have no
idea what kind of "cruft" you think there is.  :-)

:One
:change I did make and that you should too is to use select in the
:reflector for the writes as well as the reads.  Otherwise
:streaming feeds can misbehave.

I don't see the problem..  I can't think of a situation where there would be
deadlock...  I've traditionally avoided select for writes but have buffered
pending uncompleted writes (instead of calling bufwrite()) ..  I haven't
observed a problem with either method, and the code is simpler.  :-)

... Joe

-------------------------------------------------------------------------------
Joe Greco - Systems Administrator			      jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI			   414/546-7968

Technical Details
Message-ID: <4quo1b$aom@brasil.moneng.mei.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: <4p9ta0$1vn@thunder.mgl.ca> <4q4ahm$42o@twwells.com> <4q8vnk$q6d@brasil.moneng.mei.com> <4qnqci$2i3@twwells.com>

Show Full Headers
Complete Article Headers
Message-ID: <4quo1b$aom@brasil.moneng.mei.com>
Subject: Re: idea: pre-spawned nnrpds
Date: Thu, 27 Jun 1996 00:00:00 +0000
From: jgreco@brasil.moneng.mei.com (Joe Greco)
References: <4p9ta0$1vn@thunder.mgl.ca> <4q4ahm$42o@twwells.com> <4q8vnk$q6d@brasil.moneng.mei.com> <4qnqci$2i3@twwells.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: 162424545
Distribution: inet
Organization: Marquette Electronics, Inc. - Milwaukee, WI.
Newsgroups: news.software.nntp