projects
/
yazpp-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:
4589223
)
Changed decode failure handling a bit so that failNotify is called.
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 20 May 2008 14:04:11 +0000
(16:04 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 20 May 2008 14:04:11 +0000
(16:04 +0200)
Changed decode failure handling a bit so that failNotify is called.
But use shutdown rather than close_session.
src/yaz-z-assoc.cpp
patch
|
blob
|
history
diff --git
a/src/yaz-z-assoc.cpp
b/src/yaz-z-assoc.cpp
index
7da1676
..
04bea5b
100644
(file)
--- a/
src/yaz-z-assoc.cpp
+++ b/
src/yaz-z-assoc.cpp
@@
-93,7
+93,8
@@
void Z_Assoc::recv_PDU(const char *buf, int len)
}
else
{
- close();
+ m_PDU_Observable->shutdown();
+ failNotify();
}
}