+Proxy now closes socket when Close PDU is received from target.
+
+Proxy does keep alive of sockets for anonymous sessions.
+
Bug fix: in some cases the Proxy could issue a Present Request
which was out of range (code 13).
* Copyright (c) 1998-2003, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-proxy.cpp,v 1.42 2003-06-11 22:08:56 adam Exp $
+ * $Id: yaz-proxy.cpp,v 1.43 2003-06-25 21:57:45 adam Exp $
*/
#include <assert.h>
yaz_log (LOG_LOG, "Sending %s to client", apdu_name(apdu));
m_server->send_Z_PDU(apdu);
}
+ if (apdu->which == Z_APDU_close)
+ {
+ shutdown();
+ }
}