Article View: news.software.nntp
Article #86905Re: Minor INN bug
From: Julien ÉLIE
Date: Fri, 14 Aug 2015 17:12
Date: Fri, 14 Aug 2015 17:12
18 lines
1768 bytes
1768 bytes
Hi Richard,
> In lib/network.c, in the function network_connect(), if the connect()
> fails, setsockopt(..., SO_RCVTIMEO, ...) is still called, and if that
> fails it clobbers errno from the connect().
Thanks for the report. That bug is normally fixed in INN 2.6.0 (commit
in revision 9691). Timeouts with non-blocking connect are better
handled in network_connect(). The current lib/network.c file is:
https://inn.eyrie.org/trac/browser/trunk/lib/network.c
--
Julien ÉLIE
« Quelle folie, Ô Astérix, que de t'être venu fourrer dans la
gueule de la louve romaine. » (Astérix)
Technical Details
Message-ID:
<mql7hn$nbd$1@news.trigofacile.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.(19219).mbox.7z!not-for-mailReferences:
<mqikk8$dgd$1@macpro.inf.ed.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <mql7hn$nbd$1@news.trigofacile.com> Subject: Re: Minor INN bug Date: Fri, 14 Aug 2015 19:12:23 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <mqikk8$dgd$1@macpro.inf.ed.ac.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 14 Aug 2015 17:12:23 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="amontpellier-553-1-74-143.w90-0.abo.wanadoo.fr:90.0.137.143"; logging-data="23917"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 In-Reply-To: <mqikk8$dgd$1@macpro.inf.ed.ac.uk> X-Received-Body-CRC: 1260872839 X-Received-Bytes: 1759