[vlc-commits] Revert "Revert "http access: advertize gzip encoding..." (fixes #7757)"
Rémi Denis-Courmont
git at videolan.org
Sat Apr 27 10:47:23 CEST 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Apr 27 09:19:01 2013 +0300| [0f665b382e989e56c03771738ec2fb3c6d93e4b3] | committer: Rémi Denis-Courmont
Revert "Revert "http access: advertize gzip encoding..." (fixes #7757)"
This reverts commit 714ce0faae66c5916dd22091469c6e8a107c67cd.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0f665b382e989e56c03771738ec2fb3c6d93e4b3
---
modules/access/http.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/access/http.c b/modules/access/http.c
index 5fbd461..a080b98 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -1182,6 +1182,9 @@ static int Request( access_t *p_access, uint64_t i_tell )
net_Printf( p_access, p_sys->fd, pvs, "Referer: %s\r\n",
p_sys->psz_referrer);
}
+#ifdef HAVE_ZLIB_H
+ net_Printf( p_access, p_sys->fd, pvs, "Accept-Encoding: gzip, deflate\r\n" );
+#endif
/* Offset */
if( p_sys->i_version == 1 && ! p_sys->b_continuous )
{
More information about the vlc-commits
mailing list