Susan Hinrichs created TS-4896:
----------------------------------

             Summary: TSHttpTxnClientAddrGet and TSHttpTxnIncomingAddrGet may 
return NULL
                 Key: TS-4896
                 URL: https://issues.apache.org/jira/browse/TS-4896
             Project: Traffic Server
          Issue Type: Bug
          Components: Core
            Reporter: Susan Hinrichs


With the clean up rearranging to ensure SSN close occurs after TXN close 
(TS-4507), the API calls TSHttpTxnClientAddrGet and TSHttpTxnIncomingAddrGet 
may return NULL.  This can occur in the case where the client connection has 
terminated, but the HttpSM has not yet shutdown.  We now null out the reference 
in HttpSM to the client_vc.  These calls fetch the addresses from the 
client_vc, so it HttpSM reference to it has been removed, these API's will 
return NULL.

Locally, we copy these addresses into the ProxyClientSession before the 
client_vc is disconnected.  We had push back from deployed plugins for a short 
term fix.  

Not clear what if anything we want to do in open source.  But wanted people to 
be aware that this is an issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to