projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea68fe8
)
Fix problem with cs_close hang/wait in SSL mode YAZ-652
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 18 Apr 2013 12:51:17 +0000
(14:51 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 18 Apr 2013 12:52:41 +0000
(14:52 +0200)
Invoke gnutls_bye differently in tcpip_close
src/tcpip.c
patch
|
blob
|
history
diff --git
a/src/tcpip.c
b/src/tcpip.c
index
32b1ec1
..
dcfec86
100644
(file)
--- a/
src/tcpip.c
+++ b/
src/tcpip.c
@@
-1366,7
+1366,7
@@
void tcpip_close(COMSTACK h)
{
#if HAVE_GNUTLS_H
if (sp->session)
- gnutls_bye(sp->session, GNUTLS_SHUT_RDWR);
+ gnutls_bye(sp->session, GNUTLS_SHUT_WR);
#elif HAVE_OPENSSL_SSL_H
if (sp->ssl)
{