aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-06-14 17:12:53 +0200
committerMartin Storsjö <martin@martin.st>2015-06-14 19:50:03 +0300
commit74ea1167d91ccb2e1f2943efa030f2c278b598be (patch)
tree8bb5bdd8026ea5ec2019cc57a56c8d225901605a /libavcodec/avcodec.h
parent3b73d5c942f44b37f0e44276ebcfd66c8b12c02d (diff)
downloadffmpeg-74ea1167d91ccb2e1f2943efa030f2c278b598be.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: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/avcodec.h')
0 files changed, 0 insertions, 0 deletions