🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78651

Re: Regarding INN - name to address resolution for peers

#78651
From: D. Stussy
Date: Wed, 06 Feb 2008 02:27
27 lines
2951 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87lk5zrntp.fsf@windlord.stanford.edu...
> "D. Stussy" <spam@bde-arc.ampr.org> writes:
> > My suggestion:  Add a "hostIpFailed(cxn->myHost);" statement to the
> > "then" clauses of the conditionals at lines 519, 529, and 552 of
> > "innfeed/connection.c".  The conditional at line 541 already has it in
> > its "then" clause.
>
> I agree only with line 519 (the failure to create the socket).  I've made
> that change in CURRENT.  It doesn't make sense to me to do this for local
> failures such as setting a socket non-blocking.

I can agree with that IF those 2 conditionals at line 529 and 552 won't
cause an infinite indefinent postponement from repeated failures.  However,
I'm not versed enough in the details of network sockets to be able to tell
this (for 529), and you're correct that line 552's conditional may not
depend on the network - but if it can't fail for some connections in a way
where it won't also fail for others, then I can concede this one.  However,
for 529, "blocking vs. non-blocking" sockets are dependent on AF type, so
there may be a case where some address works while another fails, yet
without this, it could lock in a failing infinite loop?  What would happen
if some future (or unexpected) AF type has blocking-only sockets?

I'm not signed up for the INN working group or bug lists, but you have my
permission to copy my posts over there and discuss my points.

Technical Details
Message-ID: <fob7v7$kma$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>

Show Full Headers
Complete Article Headers
Message-ID: <fob7v7$kma$1@snarked.org>
Subject: Re: Regarding INN - name to address resolution for peers
Date: Tue, 5 Feb 2008 18:27:35 -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>
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: 27
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 1202266919 21194 71.160.235.237 (6 Feb 2008 03:01:59 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Wed, 6 Feb 2008 03:01:59 +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