[vlc-devel] commit: Add library functions for HTTP client authentication ( Michael Hanselmann )

git version control git at videolan.org
Wed Jul 29 18:18:45 CEST 2009


vlc | branch: master | Michael Hanselmann <public at hansmi.ch> | Wed Jul 22 01:06:38 2009 +0200| [e48ba9bd73437b431d745f2d14e8cd71d2271747] | committer: Rémi Denis-Courmont 

Add library functions for HTTP client authentication

These functions can be used by HTTP clients to authenticate against
HTTP servers using the Basic and Digest algorithms as described in
RFC2617.

Most of the code is taken from modules/access/http.c, although it
includes modifications to make it work as library functions and to
fix some issues. The HTTP access module can be converted at a
later point, but there's still some stuff needing cleanup first.

These functions will be used for the Remote Audio Output Protocol
plugin to authenticate VLC against RAOP-compatible devices if the
user enabled password protection.

Signed-off-by: Michael Hanselmann <public at hansmi.ch>
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 include/vlc_http.h   |   67 +++++++
 src/Makefile.am      |    2 +
 src/libvlccore.sym   |    5 +
 src/misc/http_auth.c |  508 ++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 582 insertions(+), 0 deletions(-)

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



More information about the vlc-devel mailing list