From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 3 Jul 2008 14:58:12 -0000 Subject: [Cluster-devel] conga/ricci/modules/cluster/clumon/src/common ... Message-ID: <20080703145812.10227.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Changes by: rmccabe at sourceware.org 2008-07-03 14:58:12 Modified files: ricci/modules/cluster/clumon/src/common: ClusterMonitor.cpp Log message: Fix a bug that caused cluster-snmp to hang snmpd Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/common/ClusterMonitor.cpp.diff?cvsroot=cluster&r1=1.6&r2=1.7 --- conga/ricci/modules/cluster/clumon/src/common/ClusterMonitor.cpp 2008/01/02 20:47:36 1.6 +++ conga/ricci/modules/cluster/clumon/src/common/ClusterMonitor.cpp 2008/07/03 14:58:12 1.7 @@ -42,6 +42,8 @@ try { ClientSocket sock(_sock_path); + sock.nonblocking(true); + if(sock.send("GET").size()) throw int();