[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/ricci/ricci SSLInstance.cpp



CVSROOT:	/cvs/cluster
Module name:	conga
Branch: 	RHEL5
Changes by:	rmccabe sourceware org	2008-08-20 05:01:37

Modified files:
	ricci/ricci    : SSLInstance.cpp 

Log message:
	don't treat EAGAIN and EINTR as error conditions

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/SSLInstance.cpp.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.5.2.4&r2=1.5.2.5

--- conga/ricci/ricci/SSLInstance.cpp	2008/01/17 17:38:39	1.5.2.4
+++ conga/ricci/ricci/SSLInstance.cpp	2008/08/20 05:01:37	1.5.2.5
@@ -498,6 +498,8 @@
 			e = "SSL_ERROR_WANT_X509_LOOKUP";
 			break;
 		case SSL_ERROR_SYSCALL:
+			if (errno == EAGAIN || errno == EINTR)
+				return;
 			e = "SSL_ERROR_SYSCALL";
 			break;
 		case SSL_ERROR_SSL:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]