projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
373f241
)
stunnel: Set socket option linger for accept sockets
author
Peter Palfrader
<peter@palfrader.org>
Tue, 8 Apr 2014 12:02:06 +0000
(14:02 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Tue, 8 Apr 2014 12:02:06 +0000
(14:02 +0200)
modules/stunnel4/templates/stunnel.conf.erb
patch
|
blob
|
history
diff --git
a/modules/stunnel4/templates/stunnel.conf.erb
b/modules/stunnel4/templates/stunnel.conf.erb
index
b4d5448
..
da61562
100644
(file)
--- a/
modules/stunnel4/templates/stunnel.conf.erb
+++ b/
modules/stunnel4/templates/stunnel.conf.erb
@@
-31,6
+31,8
@@
debug = notice
client = <%= client ? "yes" : "no" %>
+socket = a:SO_LINGER=1:60
+
[<%= name %>-server]
accept = <%= accept =~ /:/ ? accept : ":::#{accept}" %>
connect = <%= connect %>