summaryrefslogtreecommitdiffstats
path: root/src/openvpn/options.c
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2012-09-09 03:30:46 +0200
committerDavid Sommerseth <davids@redhat.com>2012-09-11 19:01:14 +0200
commit5d4f5435a421299ed047485d8d99bdf9a0d22fd1 (patch)
treec7983645bab738d72ff6b903ed038fc6f4b16892 /src/openvpn/options.c
parentcae102ae0c2ff934c456cd584cbf87a33cd95206 (diff)
downloadopenvpn-5d4f5435a421299ed047485d8d99bdf9a0d22fd1.tar.gz
openvpn-5d4f5435a421299ed047485d8d99bdf9a0d22fd1.tar.xz
openvpn-5d4f5435a421299ed047485d8d99bdf9a0d22fd1.zip
Fix reconnect issues when --push and UDP is used on the server
When the server is configured with UDP and --push statements, reconnecting often fails by the client never receiving PUSH_REPLY. The client sends PUSH_REQUEST and the server logs these requests but does not send them. This bug got introduced in commit ff65da3a230b658b2c1d52dc1a48612e80a2eb42 which tries to avoid sending duplicated PUSH messages if the client/server connection is slow. This patch keeps this behaviour, but instead of a session wide PUSH_REPLY block it sets an expiry time for the PUSH_REPLY block. The expiry time is set to 30 seconds. Signed-off-by: David Sommerseth <davids@redhat.com> Cc: James Yonan <james@openvpn.net> Acked-by: Gert Doering <gert@greenie.muc.de> Acked-by: James Yonan <james@openvpn.net> Message-Id: 1347154246-20143-1-git-send-email-dazo@users.sourceforge.net URL: http://article.gmane.org/gmane.network.openvpn.devel/7044
Diffstat (limited to 'src/openvpn/options.c')
0 files changed, 0 insertions, 0 deletions