From 06dc8aa3ef65d9942beeb039178881f428f791f0 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 1 May 2006 09:14:08 +0000 Subject: [PATCH] Fix session number when HTTP Forwarded is in effect --- src/yaz-proxy.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/yaz-proxy.cpp b/src/yaz-proxy.cpp index 775f470..5c22a64 100644 --- a/src/yaz-proxy.cpp +++ b/src/yaz-proxy.cpp @@ -1,4 +1,4 @@ -/* $Id: yaz-proxy.cpp,v 1.64 2006-04-30 13:23:45 adam Exp $ +/* $Id: yaz-proxy.cpp,v 1.65 2006-05-01 09:14:08 adam Exp $ Copyright (c) 1998-2006, Index Data. This file is part of the yazproxy. @@ -452,6 +452,7 @@ IPDU_Observer *Yaz_Proxy::sessionNotify(IPDU_Observable new_proxy->set_default_target(m_default_target); new_proxy->m_max_clients = m_max_clients; new_proxy->m_log_mask = m_log_mask; + new_proxy->m_session_no = m_session_no; if (!strcmp(peername, "tcp:163.121.19.82")) // NIS GROUP new_proxy->m_log_mask = 255; -- 1.7.10.4