From: Adam Dickmeiss Date: Tue, 20 May 2008 14:04:11 +0000 (+0200) Subject: Changed decode failure handling a bit so that failNotify is called. X-Git-Tag: v1.1.0.1~1 X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=commitdiff_plain;h=4d1a034feb42a9fd1a42634022a2634556ab613d Changed decode failure handling a bit so that failNotify is called. Changed decode failure handling a bit so that failNotify is called. But use shutdown rather than close_session. --- diff --git a/src/yaz-z-assoc.cpp b/src/yaz-z-assoc.cpp index 7da1676..04bea5b 100644 --- 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(); } }