Index: player/vendor/curl/curl-7.19.4/lib/http.c
===================================================================
--- player/vendor/curl/curl-7.19.4/lib/http.c (revision 24485)
+++ player/vendor/curl/curl-7.19.4/lib/http.c (revision 25011)
@@ -2176,16 +2176,17 @@
     if(data->req.upload_chunky)
       te = "Transfer-Encoding: chunked\r\n";
   }
 
   Curl_safefree(conn->allocptr.host);
 
   ptr = checkheaders(data, "Host:");
   if(ptr && (!data->state.this_is_a_follow ||
+             !data->state.first_host ||
              Curl_raw_equal(data->state.first_host, conn->host.name))) {
 #if !defined(CURL_DISABLE_COOKIES)
     /* If we have a given custom Host: header, we extract the host name in
        order to possibly use it for cookie reasons later on. We only allow the
        custom Host: header if this is NOT a redirect, as setting Host: in the
        redirected request is being out on thin ice. Except if the host name
        is the same as the first one! */
     char *cookiehost = Curl_copy_header_value(ptr);

