🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78661

Re: Regarding INN - name to address resolution for peers

#78661
From: D. Stussy
Date: Thu, 07 Feb 2008 01:27
31 lines
3263 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87prv94slm.fsf@windlord.stanford.edu...
> "D. Stussy" <spam@bde-arc.ampr.org> writes:
>
> > That's what I thought - and as a "software switch," there should NEVER
> > be a failure, yet the conditional is there to take the worse case
> > (kernel bug?), so assuming that such a failure is possible, wouldn't the
> > infinite re-trying of the same address for this operation cause a
> > virtual infinite loop without trying other addresses/AFs?
>
> It's not an infinite loop since innfeed goes on to do other things and
> just periodically retries opening the connection.  If setting the socket
> to non-blocking is failing, I don't see how rotating the address will help
> any.  It's either going to keep failing or stop failing for reasons
> unrelated to the socket's address family, so it would make no difference
> whether one rotated addresses or not.

It is a virtual infinite loop as far as that feed is concerned as it never
progresses (actually, an infinite indefinent postponement).  Changing the
address (hopefully to another AF) COULD HELP in that it finds one that
doesn't have the failure condition.

Rotating through the other addresses here means that if the change in
blocking status fails the connection, it is because it has failed for ALL of
the addresses, while not doing so means that the feed will get stuck should
it fail on ANY of the addresses (when it hits the address that causes
failure) - where there could be another address that works that may never be
used (thereafter).  It's more robust and resilient - just what's needed for
error recovery.

Technical Details
Message-ID: <fodncj$1s2$1@snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!news.linkpendium.com!news.linkpendium.com!news.snarked.org!not-for-mail
References: <fnqsnb$e8h$1@snarked.org> <fo82tr$14d$1@bongo.bofh.it> <fo8pcb$nkd$1@snarked.org> <87ejbs0ytv.fsf@windlord.stanford.edu> <fo8uhn$o2q$1@snarked.org> <87odavzzlq.fsf@windlord.stanford.edu> <fo93cm$oik$1@snarked.org> <87prvbyhy9.fsf@windlord.stanford.edu> <fo969n$qhl$1@snarked.org> <87fxw71bi4.fsf@windlord.stanford.edu> <foaqf4$jnr$1@snarked.org> <87lk5zrntp.fsf@windlord.stanford.edu> <fob7v7$kma$1@snarked.org> <87hcgmn3wz.fsf@windlord.stanford.edu> <fodcpa$12p$1@snarked.org> <87prv94slm.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <fodncj$1s2$1@snarked.org>
Subject: Re: Regarding INN - name to address resolution for peers
Date: Wed, 6 Feb 2008 17:27:15 -0800
From: "D. Stussy" <spam@bde-arc.ampr.org>
References: <fnqsnb$e8h$1@snarked.org> <fo82tr$14d$1@bongo.bofh.it> <fo8pcb$nkd$1@snarked.org> <87ejbs0ytv.fsf@windlord.stanford.edu> <fo8uhn$o2q$1@snarked.org> <87odavzzlq.fsf@windlord.stanford.edu> <fo93cm$oik$1@snarked.org> <87prvbyhy9.fsf@windlord.stanford.edu> <fo969n$qhl$1@snarked.org> <87fxw71bi4.fsf@windlord.stanford.edu> <foaqf4$jnr$1@snarked.org> <87lk5zrntp.fsf@windlord.stanford.edu> <fob7v7$kma$1@snarked.org> <87hcgmn3wz.fsf@windlord.stanford.edu> <fodcpa$12p$1@snarked.org> <87prv94slm.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!news.linkpendium.com!news.linkpendium.com!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 31
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-160-235-237.lsanca.dsl-w.verizon.net
X-Trace: snarked.org 1202348243 1922 71.160.235.237 (7 Feb 2008 01:37:23 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Thu, 7 Feb 2008 01:37:23 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478