[vlc-devel] commit: Use 443 rather than 80 as the implicit Host: port when using TLS ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon Mar 3 17:49:29 CET 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Mon Mar 3 18:49:08 2008 +0200| [111dac8c7d1252f3d3b6f9ac96b37e6e986b06e4]
Use 443 rather than 80 as the implicit Host: port when using TLS
Signed-off-by: Rémi Denis-Courmont <rem at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=111dac8c7d1252f3d3b6f9ac96b37e6e986b06e4
---
modules/access/http.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/access/http.c b/modules/access/http.c
index c669400..44d3c19 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",
More information about the vlc-devel
mailing list