diff options
Diffstat (limited to 'packages/strongswan-maemo/debian/patches/shorter-timeout.patch')
-rw-r--r-- | packages/strongswan-maemo/debian/patches/shorter-timeout.patch | 13 |
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 |