Skip to content

Commit

Permalink
Fix a format specifier for size_t (#7830)
Browse files Browse the repository at this point in the history
(cherry picked from commit 73d179a)
  • Loading branch information
maskit authored and zwoop committed May 17, 2021
1 parent fa0e539 commit dd7f480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/http/HttpSessionManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ ServerSessionPool::acquireSession(sockaddr const *addr, CryptoHash const &hostna
to_return = nullptr;

if ((TS_SERVER_SESSION_SHARING_MATCH_MASK_HOSTONLY & match_style) && !(TS_SERVER_SESSION_SHARING_MATCH_MASK_IP & match_style)) {
Debug("http_ss", "Search for host name only not IP. Pool size %" PRId64, m_fqdn_pool.count());
Debug("http_ss", "Search for host name only not IP. Pool size %zu", m_fqdn_pool.count());
// This is broken out because only in this case do we check the host hash first. The range must be checked
// to verify an upstream that matches port and SNI name is selected. Walk backwards to select oldest.
in_port_t port = ats_ip_port_cast(addr);
Expand Down

0 comments on commit dd7f480

Please sign in to comment.