diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc index 8221a3ca38c..90d4d2d4935 100644 --- a/proxy/http/HttpSM.cc +++ b/proxy/http/HttpSM.cc @@ -7483,6 +7483,9 @@ HttpSM::kill_this() server_txn = nullptr; } if (_ua.get_txn()) { + if (_ua.get_txn()->get_server_session() != nullptr) { + _ua.get_txn()->attach_server_session(nullptr); + } _ua.get_txn()->transaction_done(); }