🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Richard Tobin Thu, 13 Aug 2015 17:37
Minor INN bug
#86912
Author: Richard Tobin
Date: Thu, 13 Aug 2015 17:37
7 lines
1069 bytes
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().

-- Richard

Re: Minor INN bug
#86905
Author: Julien ÉLIE
Date: Fri, 14 Aug 2015 17:12
18 lines
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)

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads