Pass the correct hostname when using a proxy
authorMarc Aldorasi <marc@groundctl.com>
Tue, 30 Jun 2015 18:35:01 +0000 (14:35 -0400)
committerAndy Green <andy.green@linaro.org>
Mon, 12 Oct 2015 02:37:49 +0000 (10:37 +0800)
commit89f5eec5ac201cd6a93b18c53be9838b3a85df45
treea2eb5e3b682281f65479b04f3238ac8dbe8be508
parent7a474b4e2d9279f28161c76c6ee3a426ffe78ac0
Pass the correct hostname when using a proxy

The proxy doesn't modify the SNI request, so we need to pass the name of
the host we're trying to reach instead of the proxy we're reaching it
through.
lib/client.c