Changeset 74ea116 in ffmpeg

Timestamp:
Jun 14, 2015, 4:50:03 PM (9 years ago)
Author:
Martin Storsjö <martin@martin.st>
Branches:
master
Children:
07b2db81, dd940093
Parents:
3b73d5c
git-author:
wm4 <nfxjfg@googlemail.com> (06/14/15 15:12:53)
git-committer:
Martin Storsjö <martin@martin.st> (06/14/15 16:50:03)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.