aboutsummaryrefslogtreecommitdiffstats
path: root/packages/maemo-strongswan/debian/patches/shorter-timeout.patch
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-02-04 18:01:10 +0100
committerTobias Brunner <tobias@strongswan.org>2011-02-04 18:02:49 +0100
commit1a83924a49e3c219e00f5ee88d95cc8f42f32c17 (patch)
treeb3ed5bbe2c3729266cfce0c410af0c46cf1ec829 /packages/maemo-strongswan/debian/patches/shorter-timeout.patch
parentea4feb02487e4f411f358980366cd12a4b557527 (diff)
downloadstrongswan-1a83924a49e3c219e00f5ee88d95cc8f42f32c17.tar.bz2
strongswan-1a83924a49e3c219e00f5ee88d95cc8f42f32c17.tar.xz
maemo: Moved package sources.
Diffstat (limited to 'packages/maemo-strongswan/debian/patches/shorter-timeout.patch')
-rw-r--r--packages/maemo-strongswan/debian/patches/shorter-timeout.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/maemo-strongswan/debian/patches/shorter-timeout.patch b/packages/maemo-strongswan/debian/patches/shorter-timeout.patch
new file mode 100644
index 000000000..8c90dbc3a
--- /dev/null
+++ b/packages/maemo-strongswan/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