Skip to contentSkip to conversation

conga/ricci/modules/cluster/clumon/src/common ...

Cluster-devel [email protected] 1 participant 1 message Jul 3, 2008

lore
Share & tools
lore
#0 lore raw

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

ricci/modules/cluster/clumon/src/common/ClusterMonitor.cpp +2 -0
@@ -42,6 +42,8 @@
 	try {
 		ClientSocket sock(_sock_path);
 
+		sock.nonblocking(true);
+
 		if(sock.send("GET").size())
 			throw int();