[vlc-commits] access/http: Share cookies between all playlist items

Antti Ajanki git at videolan.org
Tue Sep 16 22:32:19 CEST 2014


vlc | branch: master | Antti Ajanki <antti.ajanki at iki.fi> | Tue Sep 16 21:24:41 2014 +0300| [68699a322411774b9dd7f19a00163e4784c965dc] | committer: Rémi Denis-Courmont

access/http: Share cookies between all playlist items

Shared cookies are required, for example, by certain HDS and HLS streams
that set a cookie when the manifest is read and expect it to be sent
back on subsequent fragment requests.

The cookie jar is created during playlist initialization. HTTP requests
inherit the cookie jar from the playlist.

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=68699a322411774b9dd7f19a00163e4784c965dc
---

 NEWS                   |    3 ++-
 include/vlc_http.h     |    2 +-
 modules/access/http.c  |   49 +++++++++++++++++++++++++++++++-----------------
 src/misc/httpcookies.c |   48 +++++++++++++++++++++++++++++++++++------------
 src/playlist/engine.c  |   17 +++++++++++++++++
 5 files changed, 88 insertions(+), 31 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=68699a322411774b9dd7f19a00163e4784c965dc


More information about the vlc-commits mailing list