You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "William Bardwell (JIRA)" <ji...@apache.org> on 2011/04/25 19:17:03 UTC

[jira] [Updated] (TS-751) Experimental TSHttpTxnCacheLookupStatusSet(HIT_STALE) calls cause a crash

     [ https://issues.apache.org/jira/browse/TS-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Bardwell updated TS-751:
--------------------------------

    Attachment: svn3.diff

This seems to fix it for me, but it might be assuming things that are not always true or might be skipping some required steps, but it looks like it matches the code that is handling the parent proxy case and so should be ok.

> Experimental TSHttpTxnCacheLookupStatusSet(HIT_STALE) calls cause a crash
> -------------------------------------------------------------------------
>
>                 Key: TS-751
>                 URL: https://issues.apache.org/jira/browse/TS-751
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 2.1.7, 2.1.6, 2.1.5, 2.1.4
>         Environment: Any
>            Reporter: William Bardwell
>         Attachments: svn3.diff
>
>
> If you use the API TSHttpTxnCacheLookupStatusSet() which is in experimental.h but is potentially very handy, and you set the status to HIT_STALE TS asserts.  The code where it does that seems to be assuming that it is talking to a parent proxy, but in our setup was talking to the origin server.  The fix seems pretty simple to make it handle talking to a origin server.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira