Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions proxy/http/HttpSM.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
3 changes: 1 addition & 2 deletions proxy/http/HttpSessionManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
2 changes: 1 addition & 1 deletion proxy/http/HttpSessionManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down