mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
ITS#6673 GnuTLS hangs if you tell it to shut the read direction. Just
shut the write direction; it will all be irrelevant since the socket will be closed immediately after.
This commit is contained in:
parent
845bf30c5b
commit
abe4a5f83b
@ -967,7 +967,7 @@ tlsg_sb_close( Sockbuf_IO_Desc *sbiod )
|
||||
assert( sbiod->sbiod_pvt != NULL );
|
||||
|
||||
p = (struct tls_data *)sbiod->sbiod_pvt;
|
||||
gnutls_bye ( p->session->session, GNUTLS_SHUT_RDWR );
|
||||
gnutls_bye ( p->session->session, GNUTLS_SHUT_WR );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user