vlc | branch: master | Konstantin Pavlov <[email protected]> | Fri Sep 28 22:32:07 2012 +0400| [400d7d410950b98e7887e8484ce545167537638d] | committer: Rémi Denis-Courmont
http access: advertize gzip encoding if supported (fixes #7515) Signed-off-by: Rémi Denis-Courmont <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=400d7d410950b98e7887e8484ce545167537638d --- modules/access/http.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/access/http.c b/modules/access/http.c index 583cf4a..be90e83 100644 --- a/modules/access/http.c +++ b/modules/access/http.c @@ -1187,6 +1187,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 ) { _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
