]> git.ipfire.org Git - thirdparty/curl.git/commit
url: Update current connection SSL verify params in setopt
authorArtak Galoyan <agaloyan@vmware.com>
Thu, 5 Oct 2017 19:43:13 +0000 (15:43 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 11 Oct 2017 07:14:26 +0000 (03:14 -0400)
commit5505df7d24a2c251c7ed81a389781abca0cc5b25
tree5bfeb11f960ca1d2747b78e6ad2273d41257d98f
parentde7597f155beea1cfba341bd7d8d7bb6202edba0
url: Update current connection SSL verify params in setopt

Now VERIFYHOST, VERIFYPEER and VERIFYSTATUS options change during active
connection updates the current connection's (i.e.'connectdata'
structure) appropriate ssl_config (and ssl_proxy_config) structures
variables, making these options effective for ongoing connection.

This functionality was available before and was broken by the
following change:
"proxy: Support HTTPS proxy and SOCKS+HTTP(s)"
CommitId: cb4e2be7c6d42ca0780f8e0a747cecf9ba45f151.

Bug: https://github.com/curl/curl/issues/1941

Closes https://github.com/curl/curl/pull/1951
lib/url.c