shinrich commented on a change in pull request #7622:
URL: https://github.com/apache/trafficserver/pull/7622#discussion_r608067165
##########
File path: proxy/http/HttpSessionManager.cc
##########
@@ -190,9 +196,11 @@ ServerSessionPool::acquireSession(sockaddr const *addr,
CryptoHash const &hostna
}
if (zret == HSM_DONE) {
to_return = first;
- HTTP_DECREMENT_DYN_STAT(http_pooled_server_connections_stat);
- m_ip_pool.erase(first);
- m_fqdn_pool.erase(to_return);
+ if (!to_return->is_multiplexing()) {
+ HTTP_DECREMENT_DYN_STAT(http_pooled_server_connections_stat);
+ m_ip_pool.erase(first);
+ m_fqdn_pool.erase(to_return);
Review comment:
Good point, should be able to take advantage of the new removeSession
method here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]