]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpc: Check and message setsockopt()
authorJohn Ferlan <jferlan@redhat.com>
Tue, 15 Jan 2013 18:12:56 +0000 (13:12 -0500)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 16 Jan 2013 09:43:13 +0000 (10:43 +0100)
commitd514d7773cd7d88041cead6f25cce2055f7c51db
tree637738356a3cdf2e0bf5b5204608e542751749d7
parent4d4a8aa9ad393264dda7bc884cfc59dd136870e9
rpc: Check and message setsockopt()

Check status when attempting to set SO_REUSEADDR flag on outgoing connection
On failure, VIR_WARN(), but continue to connect. This code path is on the
sender side where the setting is just a hint and would only take effect if
the sender is overflowed with TCP connections.  Inability to set doesn't mean
failure to establish a connection.
src/rpc/virnetsocket.c