]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Remove http-proxy-retry and socks-proxy-retry.
authorArne Schwabe <arne@rfc2549.org>
Fri, 24 Jun 2016 12:27:10 +0000 (14:27 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 24 Jun 2016 12:38:09 +0000 (14:38 +0200)
commit2011b8324feca30df753a4a0a116d37c04742520
treeb9be2799b4ea7226845b396e303fe429495adec4
parente4c9bbe6c367132c8570fe747d85a6075ff04245
Remove http-proxy-retry and socks-proxy-retry.

These options were probably introduced long before we had multiple
remote/connection entries. For all other connection entries, OpenVPN will
go on with the next connection if it fails. For proxies, if it fails in
some ways it works the same, for other failures it completely stops.

Removing the *-proxy-retry and defaulting to retry makes the behavior more
predictiable. Stopping after one try (regardless of reason) can be achieved
with --max-connect-retry 1

V2: Add reason for removing, remove from manpage, give a hint at
   --max-connet-retry
V3: Collapse the two ifs in options.c to one block
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1466771230-5266-1-git-send-email-arne@rfc2549.org>
URL: http://article.gmane.org/gmane.network.openvpn.devel/11988

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Changes.rst
doc/openvpn.8
src/openvpn/init.c
src/openvpn/options.c
src/openvpn/options.h
src/openvpn/proxy.c
src/openvpn/proxy.h
src/openvpn/socks.c
src/openvpn/socks.h