Skip to content
Snippets Groups Projects
user avatar
wm4 authored
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: default avatarMartin Storsjö <martin@martin.st>
74ea1167
History
Name Last commit Last update