You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Galić (JIRA)" <ji...@apache.org> on 2011/07/15 21:36:00 UTC

[jira] [Resolved] (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 ]

Igor Galić resolved TS-875.
---------------------------

    Resolution: Fixed

> 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, 3.0.1
>
>         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