aboutsummaryrefslogtreecommitdiffstats
path: root/packages/strongswan-maemo/debian/patches/shorter-timeout.patch
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-02-04 18:00:18 +0100
committerTobias Brunner <tobias@strongswan.org>2011-02-04 18:02:49 +0100
commitea4feb02487e4f411f358980366cd12a4b557527 (patch)
treeec6da41dc912acd990c87c6332c59d30ee8f9750 /packages/strongswan-maemo/debian/patches/shorter-timeout.patch
parent443cd2d95f461167aaa5dcbe50c4ad94b7916e47 (diff)
downloadstrongswan-ea4feb02487e4f411f358980366cd12a4b557527.tar.bz2
strongswan-ea4feb02487e4f411f358980366cd12a4b557527.tar.xz
maemo: Added Maemo specific patches for strongswan.conf.
Diffstat (limited to 'packages/strongswan-maemo/debian/patches/shorter-timeout.patch')
-rw-r--r--packages/strongswan-maemo/debian/patches/shorter-timeout.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/strongswan-maemo/debian/patches/shorter-timeout.patch b/packages/strongswan-maemo/debian/patches/shorter-timeout.patch
new file mode 100644
index 000000000..8c90dbc3a
--- /dev/null
+++ b/packages/strongswan-maemo/debian/patches/shorter-timeout.patch
@@ -0,0 +1,13 @@
+Make timeouts shorter which is more appropriate for client only use.
+--- a/src/strongswan.conf
++++ b/src/strongswan.conf
+@@ -1,6 +1,9 @@
+ # strongswan.conf - strongSwan configuration file
+
+ charon {
++ # shorter timeouts (defaults are 4.0/1.8)
++ retransmit_timeout = 3.0
++ retransmit_base = 1.4
+
+ # number of worker threads in charon
+ threads = 16