]> git.sesse.net Git - vlc/commit
tls: keep credentials when HTTP reconnects
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 29 Sep 2012 13:52:13 +0000 (16:52 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 29 Sep 2012 18:26:43 +0000 (21:26 +0300)
commitba0d112f5b79202cf019f0ea47be7c6669ebee74
treed44a83459fa8decdad65686cf69b6047075b4859
parent3b14b63995cae2a8f92b66acf14679e4a7f71cc5
tls: keep credentials when HTTP reconnects

Keeping the credentials container saves some times, as we do not need
to load and parse all of the 100+ Certificate Authorities again.
In the future, it will also avoid reloading the stored public keys
(i.e. security exceptions), or asking for user confirmation again.

Given how the HTTP access is written, the credentials are now preserved
upon seeking. Unfortunately, they are not recycled across redirections
as access_t.p_sys gets destroyed internally. This also does not work
across multiple inputs - support from the instance or input manager
would be required.
include/vlc_tls.h
modules/access/http.c
src/libvlccore.sym
src/network/tls.c