trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject git commit: TS-2789: Typo in HttpSessionManger would cause ATS reuse wrong session to origin server.
Date Thu, 08 May 2014 19:55:44 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 7f6f2709b -> ba0c8a9d8


TS-2789: Typo in HttpSessionManger would cause ATS reuse wrong session to origin server.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/ba0c8a9d
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/ba0c8a9d
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/ba0c8a9d

Branch: refs/heads/master
Commit: ba0c8a9d8652087c1e0316c63b5bb359c906cf2a
Parents: 7f6f270
Author: Kang Li <kangli@yahoo-inc.com>
Authored: Thu May 8 12:55:31 2014 -0700
Committer: Bryan Call <bcall@apache.org>
Committed: Thu May 8 12:55:31 2014 -0700

----------------------------------------------------------------------
 proxy/http/HttpSessionManager.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ba0c8a9d/proxy/http/HttpSessionManager.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpSessionManager.cc b/proxy/http/HttpSessionManager.cc
index e533137..ed1df7f 100644
--- a/proxy/http/HttpSessionManager.cc
+++ b/proxy/http/HttpSessionManager.cc
@@ -180,7 +180,7 @@ HttpSessionManager::match(HttpServerSession* s, sockaddr const* addr,
INK_MD5 co
 {
   return
     (TS_SERVER_SESSION_SHARING_MATCH_HOST == sm->t_state.txn_conf->server_session_sharing_match
|| 
-          (ats_ip_addr_eq(&s->server_ip.sa, addr) && ats_ip_port_cast(addr)
== ats_ip_port_cast(addr)))
+          (ats_ip_addr_eq(&s->server_ip.sa, addr) && ats_ip_port_cast(&s->server_ip.sa)
== ats_ip_port_cast(addr)))
     && (TS_SERVER_SESSION_SHARING_MATCH_IP == sm->t_state.txn_conf->server_session_sharing_match
||
         s->hostname_hash == hostname_hash)
     ;


Mime
View raw message