diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc index ff510b4a84f..3ffaa6639cc 100644 --- a/proxy/http/HttpSM.cc +++ b/proxy/http/HttpSM.cc @@ -5039,8 +5039,7 @@ HttpSM::do_http_server_open(bool raw) shared_result = httpSessionManager.acquire_session(this, // state machine &t_state.current.server->dst_addr.sa, // ip + port t_state.current.server->name, // hostname - ua_txn, // has ptr to bound ua sessions - this // sm + ua_txn // has ptr to bound ua sessions ); switch (shared_result) { diff --git a/proxy/http/HttpSessionManager.cc b/proxy/http/HttpSessionManager.cc index 4f7fabbe3de..dd6897c73f9 100644 --- a/proxy/http/HttpSessionManager.cc +++ b/proxy/http/HttpSessionManager.cc @@ -333,8 +333,7 @@ HttpSessionManager::purge_keepalives() } HSMresult_t -HttpSessionManager::acquire_session(Continuation * /* cont ATS_UNUSED */, sockaddr const *ip, const char *hostname, - ProxyTransaction *ua_txn, HttpSM *sm) +HttpSessionManager::acquire_session(HttpSM *sm, sockaddr const *ip, const char *hostname, ProxyTransaction *ua_txn) { PoolableSession *to_return = nullptr; TSServerSessionSharingMatchMask match_style = diff --git a/proxy/http/HttpSessionManager.h b/proxy/http/HttpSessionManager.h index 45344582247..b8ed65b75aa 100644 --- a/proxy/http/HttpSessionManager.h +++ b/proxy/http/HttpSessionManager.h @@ -110,7 +110,7 @@ class HttpSessionManager public: HttpSessionManager() {} ~HttpSessionManager() {} - HSMresult_t acquire_session(Continuation *cont, sockaddr const *addr, const char *hostname, ProxyTransaction *ua_txn, HttpSM *sm); + HSMresult_t acquire_session(HttpSM *sm, sockaddr const *addr, const char *hostname, ProxyTransaction *ua_txn); HSMresult_t release_session(PoolableSession *to_release); void purge_keepalives(); void init();