You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/06/12 04:05:00 UTC

[jira] [Commented] (TS-3555) Add a new API: TSHttpTxnCacheLookupUrlSet()

    [ https://issues.apache.org/jira/browse/TS-3555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14582823#comment-14582823 ] 

ASF subversion and git services commented on TS-3555:
-----------------------------------------------------

Commit 0c3d30e69bf4adc3745beda54276166ea571992b in trafficserver's branch refs/heads/master from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=0c3d30e ]

TS-3555 Add a new API TSHttpTxnCacheLookupUrlSet()


> Add a new API: TSHttpTxnCacheLookupUrlSet()
> -------------------------------------------
>
>                 Key: TS-3555
>                 URL: https://issues.apache.org/jira/browse/TS-3555
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: TS API
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>              Labels: A
>             Fix For: 6.0.0
>
>
> This is the inverse of the existing TSHttpTxnCacheLookupUrlGet(), with the same prototype. The typical use case is to use this new API rather than the old  TSCacheUrlSet(), which is inefficient in that it requires a series of step to stringify and then URL parse the string again. Using this API, we avoid both of those steps, and do all work on the cache key (Lookup URL) using normal URL APIs.
> I will put this through the normal API review process.



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