Article View: news.software.nntp
Article #78663Re: Regarding INN - name to address resolution for peers
From: D. Stussy
Date: Thu, 07 Feb 2008 02:55
Date: Thu, 07 Feb 2008 02:55
35 lines
3452 bytes
3452 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message news:878x1x1r5s.fsf@windlord.stanford.edu... > "D. Stussy" <spam@bde-arc.ampr.org> writes: > > It is a virtual infinite loop as far as that feed is concerned as it > > never progresses (actually, an infinite indefinent postponement). > > Until whatever issue that causes the socket to not be set non-blocking > clears, at which point it will then use the first and preferred address > instead of some other random address later in the return from getaddrinfo, > which seems to be to be superior behavior. > > > Changing the address (hopefully to another AF) COULD HELP in that it > > finds one that doesn't have the failure condition. > > I don't see any way in which this is possible. Well, technically, setting a socket's blocking status should never fail yet the code accounts for that possibility. Error handling isn't about what should happen - but about what shouldn't. You're making an assumption that this error could and will eventually clear, while I assume that it never may (e.g. software bug). Changing the status is an external call. No one can guarentee that such an IOCTL-type call is address or address family independent in all contexts across all platforms. Although I agree that it is likely to be, one cannot universally make that assumption - because one doesn't have control of the coding outside of one's own program. Regardless, you may feel that trying other addresses & AFs (if available) is unnecessary, but what is the harm in doing so? I see none, yet I also see an advantage in trying them over not. I believe we're at a deadlock. That's why I suggested posting this to the appropriate INN mailing lists - since no one else has given their opinion here....
Technical Details
Message-ID:
<fodtia$36i$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-mailReferences:
<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> <fodncj$1s2$1@snarked.org> <878x1x1r5s.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <fodtia$36i$1@snarked.org> Subject: Re: Regarding INN - name to address resolution for peers Date: Wed, 6 Feb 2008 18:55:09 -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> <fodncj$1s2$1@snarked.org> <878x1x1r5s.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: 35 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 1202354570 3282 71.160.235.237 (7 Feb 2008 03:22:50 GMT) X-Complaints-To: newsmaster@snarked.org NNTP-Posting-Date: Thu, 7 Feb 2008 03:22:50 +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