You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2014/05/11 00:12:43 UTC
[jira] [Assigned] (TS-2789) Typo in HttpSessionManger would cause
ATS reuse wrong session to origin server.
[ https://issues.apache.org/jira/browse/TS-2789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Call reassigned TS-2789:
------------------------------
Assignee: Bryan Call
> Typo in HttpSessionManger would cause ATS reuse wrong session to origin server.
> -------------------------------------------------------------------------------
>
> Key: TS-2789
> URL: https://issues.apache.org/jira/browse/TS-2789
> Project: Traffic Server
> Issue Type: Bug
> Components: HTTP
> Reporter: kang li
> Assignee: Bryan Call
> Labels: yahoo
> Fix For: 5.0.0
>
>
> There is a typo in HttpSessionManger
> (ats_ip_addr_eq(&s->server_ip.sa, addr) && ats_ip_port_cast(addr) == ats_ip_port_cast(addr)))
> The fix would be
> {code}
> - (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)))
> {code}
> This typo skip the port check, so if requests to same origin server would use one same session even though different port.
>
> Which would cause ATS-5.0 reuse wrong session to origin.
--
This message was sent by Atlassian JIRA
(v6.2#6252)