]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/tls_g.c
ITS#6673 GnuTLS hangs if you tell it to shut the read direction. Just
[openldap] / libraries / libldap / tls_g.c
index f49147a36c98df3e34c82fc80f7931c6cd6c8ff8..f5076cdb99c90b8389a4a74def8c08eb97e62227 100644 (file)
@@ -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;
 }