You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2011/07/13 22:45:59 UTC

[jira] [Reopened] (TS-875) TSFetchRestpGet(), TSFetchPageResptGet() and TSFetchUrl() have incorrect asserts

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

Leif Hedstrom reopened TS-875:
------------------------------


Reopening, since we'll want to commit this for 3.0.1 if it passes the votes.

> TSFetchRestpGet(), TSFetchPageResptGet() and TSFetchUrl() have incorrect asserts
> --------------------------------------------------------------------------------
>
>                 Key: TS-875
>                 URL: https://issues.apache.org/jira/browse/TS-875
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: TS API
>    Affects Versions: 3.0.0
>            Reporter: Manjesh Nilange
>            Assignee: Leif Hedstrom
>             Fix For: 3.1.0
>
>         Attachments: inkapi.patch
>
>
> The asserts cause TS to crash when these API functions are used. The asserts are incorrect as argument 'txnp' is actually not a transaction, but a FetchSM pointer as apparent in the code that follows.
> And TSFetchUrl allows continuations to make requests with no callbacks and for such code paths, the continuation check should not be done.

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