summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorJames Yonan <james@openvpn.net>2011-03-20 19:43:06 +0000
committerDavid Sommerseth <dazo@users.sourceforge.net>2011-04-26 22:29:11 +0200
commit4ff5b53ff8a1d6232e21a3e8f0538dc87ca4920b (patch)
treea0ffd9307e10b3c3b09280782bcdf279a63d97fc /common.h
parente1b99e6b6630a81ffd3287bc11533707332d2dda (diff)
downloadopenvpn-4ff5b53ff8a1d6232e21a3e8f0538dc87ca4920b.tar.gz
openvpn-4ff5b53ff8a1d6232e21a3e8f0538dc87ca4920b.tar.xz
openvpn-4ff5b53ff8a1d6232e21a3e8f0538dc87ca4920b.zip
Client will now try to reconnect if no push reply received
within handshake-window seconds. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7066 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'common.h')
-rw-r--r--common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common.h b/common.h
index 5548f7c..0ca7323 100644
--- a/common.h
+++ b/common.h
@@ -87,6 +87,11 @@ typedef unsigned long ptr_type;
#define PUSH_BUNDLE_SIZE 1024
/*
+ * In how many seconds does client re-send PUSH_REQUEST if we haven't yet received a reply
+ */
+#define PUSH_REQUEST_INTERVAL 5
+
+/*
* A sort of pseudo-filename for data provided inline within
* the configuration file.
*/