Filip Roséen
ecb7c84719
Json webservice: fixed include-guards
* renamed include-guards to fix issue with reserved identifier
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Hugo Beauzée-Luyssen
d03a18d64d
fsstorage: Fix leak
cid #1313788
11 years ago
Thomas Guillem
c89f967473
securetransport: increase certificate question severity
11 years ago
Thomas Guillem
0caa233edd
gnutls: increase certificate question severity
11 years ago
Thomas Guillem
183d5cda47
dialog: use new API
11 years ago
Sebastian Ramacher
1bac4a2d77
Fix spelling of "occurred"
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Rémi Denis-Courmont
f13c172e4c
securetransport: fix compilation
11 years ago
Rémi Denis-Courmont
d88c17f1ff
gnutls: do not assume IOV_MAX is defined
11 years ago
Felix Paul Kühne
f2efe84182
securetransport: fix compilation, crashes and base functionality
Additionally, rename variables to move closer to the gnutls implementation so things are easier to compare
11 years ago
Rémi Denis-Courmont
cff5a80877
tls: provide an abstract transport layer to TLS plug-ins
This (partially) enables running TLS over something else than a plain
TCP socket file descriptor.
11 years ago
Rémi Denis-Courmont
48f2d395b5
gnutls: use custom receive callback
11 years ago
Rémi Denis-Courmont
79f332e2d8
tls: replace fd with get_fd callback
11 years ago
Rémi Denis-Courmont
2f5e439929
tls: use I/O vector for receiving
11 years ago
Rémi Denis-Courmont
9e3be9be6c
gnutls: use vectorized sends on all platforms
11 years ago
Rémi Denis-Courmont
96868b6951
tls: use I/O vector for sending
11 years ago
Felix Paul Kühne
5f40a878b1
securetransport: fix segfault
11 years ago
Rémi Denis-Courmont
03b5a33f99
gnutls: memory leak
11 years ago
Rémi Denis-Courmont
1617e9a8b0
gnutls: fix double free
11 years ago
David Fuhrmann
000d5d3f23
securetransport: remove wrong check in recv function
sys should always be set (but lets assert if not), buf == NULL
should not be called from VLC as well. And the return value was
kind of wrong.
11 years ago
David Fuhrmann
0056575dab
securetransport: Call SSLClose in error paths again
11 years ago
David Fuhrmann
2ed3f86a38
securetransport: Add debug message for shutdown, fix error handling
errSSLClosedGraceful does not seem to be a valid return code
for this function.
11 years ago
David Fuhrmann
38fb83f88e
securetransport: Change warning log to debug
This is no warning, but normal behaviour.
11 years ago
Felix Paul Kühne
c46f984fc8
securetransport: prevent invalid access
11 years ago
Felix Paul Kühne
3d2c398282
securetransport: implement new shutdown function
11 years ago
Rémi Denis-Courmont
10de5cffda
tls: improve documentation
11 years ago
Rémi Denis-Courmont
3b6bb8ae54
tls: add separate callback for shutdown
11 years ago
David Fuhrmann
3dbc71f355
securetransport: Fix compilation
11 years ago
Rémi Denis-Courmont
754c3ef09a
tls: vlc_tls_t needs not be a VLC object
11 years ago
Rémi Denis-Courmont
f48b0f3fee
tls: pass credentials pointer to handshake function
11 years ago
Rémi Denis-Courmont
9502539d89
audioscrobbler: fix request syntax
User-Agent and CRLF were invalid. Also use standard capitalization.
11 years ago
Rémi Denis-Courmont
4b2909cad5
tls: move close callback from credentials to session
11 years ago
Rémi Denis-Courmont
d3c0569cd2
tls: remove virtual_socket_t and clean send/recv prototypes up
11 years ago
Hugo Beauzée-Luyssen
1de948c790
audioscrobbler: Don't mark a used variable unused
11 years ago
Hugo Beauzée-Luyssen
0875ed64ed
audioscrobbler: Fix socket leaks on error
11 years ago
Hugo Beauzée-Luyssen
05e2ddbcc1
audioscrobbler: Remove useless allocations
11 years ago
Rémi Denis-Courmont
6f15ed5213
Namespace/rename vlc URI decode/encode functions
11 years ago
Rémi Denis-Courmont
04fb7e89cb
Namespace/rename make_path to vlc_uri2path
11 years ago
Rémi Denis-Courmont
1b68edb931
Namespace/rename XML encode/decode functions
11 years ago
Jonas Lundqvist
2e4030a281
audioscrobbler: check the submission URLs after handshake
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Jonas Lundqvist
f016bce31b
audioscrobbler: implement Now Playing feature
Submission of the currently playing song will show up on last.fm as
"Now Playing".
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Jonas Lundqvist
d7dcada304
audioscrobbler: remove dead code
Remove the old (unused) code related to the "Now Playing" feature.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Jonas Lundqvist
15b848dde0
audioscrobbler: update protocol documentation URLs
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Jean-Baptiste Kempf
5dafc001bb
Modules: Remove tabs in source code
11 years ago
Rémi Denis-Courmont
d7a88fe038
url: remove vlc_UrlParse() option parameter
That parameter assumed that the query was part of the path. However it
is not, which leads to invalid host name, and eventually failure when
the path is missing. In practice, passing any value other than '?' as
separator would not work properly.
Remaining vlc_UrlParse() call sites without the option separator do not
support query at the protocol level anyway, so they are unaffected by the
change.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years ago
Jean-Baptiste Kempf
3f6ed9317f
GnuTLS: fix building with GnuTLS < 3.3.0
11 years ago
Rémi Denis-Courmont
cafbe261a0
gnutls: generate Diffie-Hellman parameters dynamically ( fixes #14702 )
11 years ago
Rémi Denis-Courmont
c63fb384e7
audioscrobbler: fix stream error handling
11 years ago
Rémi Denis-Courmont
73ed9baf82
addons: fix stream error handling
11 years ago
Rémi Denis-Courmont
8bfce14961
fingerprinter: remove fingerprinter_sys_t.i
11 years ago
Rémi Denis-Courmont
473e067777
fingerprinter: remove unused variable
11 years ago