cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] conga/ricci/ricci SSLInstance.cpp
@ 2007-06-01 23:13 rmccabe
  0 siblings, 0 replies; 2+ messages in thread
From: rmccabe @ 2007-06-01 23:13 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	conga
Branch: 	EXPERIMENTAL
Changes by:	rmccabe at sourceware.org	2007-06-01 23:13:24

Modified files:
	ricci/ricci    : SSLInstance.cpp 

Log message:
	- Increase read buffer size for network data to 4k

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

--- conga/ricci/ricci/SSLInstance.cpp	2006/12/06 22:34:08	1.7
+++ conga/ricci/ricci/SSLInstance.cpp	2007/06/01 23:13:24	1.7.4.1
@@ -1,5 +1,5 @@
 /*
-  Copyright Red Hat, Inc. 2005
+  Copyright Red Hat, Inc. 2005-2007
 
   This program is free software; you can redistribute it and/or modify it
   under the terms of the GNU General Public License as published by the
@@ -279,7 +279,7 @@
   if (!_accepted)
     throw String("cannot receive, yet: SSL connection not accepted");
   
-  char buff[1024];
+  char buff[4096];
   
   unsigned int beg = time_mil();
   while (time_mil() < beg + timeout) {



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Cluster-devel] conga/ricci/ricci SSLInstance.cpp
@ 2008-08-20  5:01 rmccabe
  0 siblings, 0 replies; 2+ messages in thread
From: rmccabe @ 2008-08-20  5:01 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	conga
Branch: 	RHEL5
Changes by:	rmccabe at 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:



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-20  5:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-01 23:13 [Cluster-devel] conga/ricci/ricci SSLInstance.cpp rmccabe
  -- strict thread matches above, loose matches on Subject: below --
2008-08-20  5:01 rmccabe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).