From: Rémi Denis-Courmont Date: Mon, 3 Mar 2008 16:49:08 +0000 (+0200) Subject: Use 443 rather than 80 as the implicit Host: port when using TLS X-Git-Tag: 0.9.0-test0~2350 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=111dac8c7d1252f3d3b6f9ac96b37e6e986b06e4;p=vlc Use 443 rather than 80 as the implicit Host: port when using TLS Signed-off-by: Rémi Denis-Courmont --- diff --git a/modules/access/http.c b/modules/access/http.c index c669400e4c..44d3c196f4 100644 --- a/modules/access/http.c +++ b/modules/access/http.c @@ -1009,7 +1009,7 @@ static int Request( access_t *p_access, int64_t i_tell ) { psz_path = "/"; } - if( p_sys->url.i_port != 80) + if( p_sys->url.i_port != (pvs ? 443 : 80) ) { net_Printf( VLC_OBJECT(p_access), p_sys->fd, pvs, "GET %s HTTP/1.%d\r\nHost: %s:%d\r\n",