[vlc-commits] access/http: Improved cookie handling

Antti Ajanki git at videolan.org
Sat Jul 26 10:37:34 CEST 2014


vlc | branch: master | Antti Ajanki <antti.ajanki at iki.fi> | Fri Jul 25 12:05:01 2014 +0300| [ca975d8be0f3f0ab8906fd1e63e39fb3e16291cf] | committer: Rémi Denis-Courmont

access/http: Improved cookie handling

* Moved cookie code to a separate file.
* Implemented domain and path matching algorithms from RFC 6265.
* Generates a single Cookie header consisting of a concatenation of all
  matching cookie values.
* Sends Secure cookies only on https streams.

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

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

 modules/access/Makefile.am   |    2 +-
 modules/access/http.c        |  169 ++-----------------
 modules/access/httpcookies.c |  366 ++++++++++++++++++++++++++++++++++++++++++
 modules/access/httpcookies.h |   62 +++++++
 4 files changed, 446 insertions(+), 153 deletions(-)

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


More information about the vlc-commits mailing list