git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tls_gnutls: fix hang on disconnection
[ffmpeg.git]
/
libavformat
/
tls_gnutls.c
diff --git
a/libavformat/tls_gnutls.c
b/libavformat/tls_gnutls.c
index
0fade36
..
a5d7e89
100644
(file)
--- a/
libavformat/tls_gnutls.c
+++ b/
libavformat/tls_gnutls.c
@@
-87,7
+87,7
@@
static int tls_close(URLContext *h)
{
TLSContext *c = h->priv_data;
if (c->need_shutdown)
- gnutls_bye(c->session, GNUTLS_SHUT_
RD
WR);
+ gnutls_bye(c->session, GNUTLS_SHUT_WR);
if (c->session)
gnutls_deinit(c->session);
if (c->cred)