• Michael Hanselmann's avatar
    Add library functions for HTTP client authentication · e48ba9bd
    Michael Hanselmann authored
    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: default avatarMichael Hanselmann <public@hansmi.ch>
    Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
    e48ba9bd
http_auth.c 16.4 KB