projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nmake: build yaz_url
[yaz-moved-to-github.git]
/
src
/
seshigh.c
diff --git
a/src/seshigh.c
b/src/seshigh.c
index
c2311bb
..
be9c54c
100644
(file)
--- a/
src/seshigh.c
+++ b/
src/seshigh.c
@@
-298,7
+298,9
@@
int ir_read(IOCHAN h, int event)
else if (res <= 0)
{
yaz_log(log_session, "Connection closed by client");
else if (res <= 0)
{
yaz_log(log_session, "Connection closed by client");
- assoc->state = ASSOC_DEAD;
+ cs_close(conn);
+ destroy_association(assoc);
+ iochan_destroy(h);
return 0;
}
else if (res == 1) /* incomplete read - wait for more */
return 0;
}
else if (res == 1) /* incomplete read - wait for more */