aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-06-13 23:55:21 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-18 22:09:01 +0200
commitc3c8365dbd3b677207998e5120f7b78850e3532c (patch)
tree80418f4234e1f56493b02f496083cf923a1a0daf /libavutil
parent6432f8826dd15ec9ce966249f4dc6933f94cf04f (diff)
downloadffmpeg-c3c8365dbd3b677207998e5120f7b78850e3532c.tar.gz
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: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 2222f419da99ef85d49ab04e7e15b76612f4d054) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
0 files changed, 0 insertions, 0 deletions