* Copyright (c) 1998-2003, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-proxy.cpp,v 1.57 2003-10-13 19:16:29 adam Exp $
+ * $Id: yaz-proxy.cpp,v 1.58 2003-10-13 22:38:07 adam Exp $
*/
#include <assert.h>
{
yaz_log (LOG_LOG, "%sShutdown (proxy to target) %s", get_session_str(),
get_hostname());
- m_waiting = 1;
- m_root->pre_init();
delete m_server;
delete this;
}
{
yaz_log (LOG_LOG, "%sTimeout (proxy to target) %s", get_session_str(),
get_hostname());
+ m_waiting = 1;
+ m_root->pre_init();
shutdown();
}