[FFmpeg-devel] [PATCH] tls_gnutls: fix hang on disconnection

Michael Niedermayer michaelni at gmx.at
Sun Jun 14 21:42:15 CEST 2015

On Sat, Jun 13, 2015 at 11:55:21PM +0200, wm4 wrote:
> 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.
> ---
> Maybe there's a better fix.
> ---
>  libavformat/tls_gnutls.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150614/fadd8c29/attachment.asc>

More information about the ffmpeg-devel mailing list