Author | SHA1 | Message | Date |
---|---|---|---|
|
74ea1167d9 |
tls_gnutls: fix hang on disconnection
GNUTLS_SHUT_RDWR means GnuTLS will keep waiting for the server's termination reply. But since we don't shutdown the TCP connection at this point yet, GnuTLS will just keep skipping actual data from the server, which basically is perceived as hang. Use GNUTLS_SHUT_WR instead, which doesn't have this problem. Signed-off-by: Martin Storsjö <martin@martin.st> |
10 years ago |
|
d4d90504a6 |
tls_gnutls: Add missing includes for the gcrypt thread safety callbacks
This fixes building with gcrypt-backed gnutls versions, broken
in
|
10 years ago |
|
57cde2b180 |
lavf: move TLS-related ifdeffery to library specific files
There is no need to have this mess in network.c. Signed-off-by: Martin Storsjö <martin@martin.st> |
10 years ago |
|
d8ffb2055f |
lavf: split tls.c
Move the OpenSSL and GnuTLS implementations to their own files. Other than the connection code (including options) and some boilerplate, no code is actually shared. Signed-off-by: Martin Storsjö <martin@martin.st> |
10 years ago |