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 2015/04/24 22:22:38 UTC

[jira] [Issue Comment Deleted] (TS-3555) Add a new API: TSHttpTxnCacheLookupUrlSet()

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

Leif Hedstrom updated TS-3555:
------------------------------
    Comment: was deleted

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

TS-3555 Add stdlib.h, for OSX and perhaps other platforms
)

> 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)