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

Bryan Call commented on TS-96:
------------------------------

More comments:
1. Use URL instead of URLImpl * for pristine_url_impl
2. There is an easier way to perform a URL copy instead of getting into the 
guts: t_state.hdr_info.client_request.url_get() and URL::copy(url)

Side note:
URL and URLImpl should be combined and pimpl should not be used for classes 
that are *only used internally*.  HTTPHdr uses a pimpl too and should be looked 
at.  These are not real pimpls because the expose the impls as public members.


> INKApi should expose the original Host header (as in the pristine header) to 
> the plugins
> ----------------------------------------------------------------------------------------
>
>                 Key: TS-96
>                 URL: https://issues.apache.org/jira/browse/TS-96
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: InkAPI
>            Reporter: Wendy Huang
>         Attachments: code_diff.txt
>
>
> Currently, its impossible to get the pristine host header from the INKHttp 
> plugins.
> This is needed by both the stale-while-revalidate plugin and the 
> INKHttpFetchPage APIs.
> (copied from bugzilla# 3203195)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to