[
https://issues.apache.org/jira/browse/TS-900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
William Bardwell updated TS-900:
--------------------------------
Attachment: lookupdo.diff
Don't copy new url into the client request (and this patch, plus calling
TSHttpTxnSecondUrlTryLock() got things to work right for me, which means that I
could get a second cache lookup, but requests still went to the origin server
as determined by the state before calling either API, they were just cached
under the new cache key.)
> TSHttpTxnNewCacheLookupDo (experimental) breaks requests to origin server
> -------------------------------------------------------------------------
>
> Key: TS-900
> URL: https://issues.apache.org/jira/browse/TS-900
> Project: Traffic Server
> Issue Type: Bug
> Affects Versions: 3.0.1
> Reporter: William Bardwell
> Priority: Minor
> Attachments: lookupdo.diff
>
>
> When I try to use the experimental API TSHttpTxnNewCacheLookupDo() it causes
> the requests to the origin server to use the port out of the cache url which
> is wrong, and the supplied url might not even be a valid url, it is just a
> cache key. So I think that the implementation of that function should not
> reset the client request url.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira