]> code.citadel.org Git - citadel.git/commit
* When attempting to connect() to the first available of multiple addresses, create...
authorArt Cancro <ajc@citadel.org>
Fri, 20 Aug 2010 01:31:37 +0000 (01:31 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 20 Aug 2010 01:31:37 +0000 (01:31 +0000)
commitef61c88752aa24a936fe848106043e3161fe2878
treedc7f0b8d5538ad7459b1e7bfbe106a882495b09c
parent65144aef7aa6c8be98c74420a5b384ee8f239a06
* When attempting to connect() to the first available of multiple addresses, create a new socket() with the correct address type (IPv6 or IPv4) for the address we're about to try.
* Also CLOSE that socket if the connection attempt fails.  This also fixes a socket descriptor leak that's been in the previous implementation pretty much forever.
citadel/clientsocket.c
citadel/textclient/citadel.c
citadel/utillib/citadel_ipc.c