Part of issue 1447: Pass proper Host header when SRV is used.
authorDavid Shaw <dshaw@jabberwocky.com>
Wed, 19 Dec 2012 16:43:28 +0000 (11:43 -0500)
committerDavid Shaw <dshaw@jabberwocky.com>
Wed, 19 Dec 2012 16:43:28 +0000 (11:43 -0500)
commit6c3a76cca064070d0a9e636fedc824415e710451
tree74fb7838256fcdb3c7417ff27565ddf6011ed224
parent3d56d486e1cfd7c32930a92afd6d0c558a90b77e
Part of issue 1447: Pass proper Host header when SRV is used.

* common/http.c (send_request, connect_server): Set proper Host header
  (no :port, host is that of the SRV) when SRV is used in the
  curl-shim.

Backported from cbe98b2cb1e40ba253300e604996681ae191e363
util/http.c