A missing break in the case statement meant that --no-proxy would not disable
the proxy at all; it would actually have the same effect as --libproxy.
This bug has been present since the --no-proxy option was first added in
v2.20 (commit
9c6d3f1b). Although it was falling through to the --script
option then.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
case OPT_NO_PROXY:
autoproxy = 0;
proxy = NULL;
+ break;
case OPT_LIBPROXY:
autoproxy = 1;
proxy = NULL;
<ul>
<li><b>OpenConnect HEAD</b>
<ul>
+ <li>Fix <tt>--no-proxy</tt> option.</li>
<li>Fix handling of requested vs. received MTU settings.</li>
<li>Fix DTLS MTU for GnuTLS 3.0.21 and newer.</li>
<li>Support more ciphers for OpenSSL encrypted PEM keys, with GnuTLS.</li>