From 638690de43960a80764be43d3fdf3f585e201aeb Mon Sep 17 00:00:00 2001
From: Gabriel Monnerat <gabriel@tiolive.com>
Date: Tue, 9 Aug 2011 13:30:52 -0300
Subject: [PATCH] add ssl version and socket paremeters to avoid lost
 connections when the connections is very slow

---
 slapos/recipe/apache/template/stunnel.conf.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/slapos/recipe/apache/template/stunnel.conf.in b/slapos/recipe/apache/template/stunnel.conf.in
index dccb29d4a..e1264d7d6 100644
--- a/slapos/recipe/apache/template/stunnel.conf.in
+++ b/slapos/recipe/apache/template/stunnel.conf.in
@@ -7,5 +7,8 @@ CApath = %(ca_path)s
 key = %(key)s
 CRLpath = %(ca_crl)s
 cert = %(cert)s
+sslVersion = SSLv3
+socket = l:TCP_NODELAY=1
+socket = r:TCP_NODELAY=1
 
 %(entry_str)s
-- 
2.30.9