You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Bin Chen (JIRA)" <ji...@apache.org> on 2012/12/17 08:04:14 UTC
[jira] [Commented] (TS-1081) Eliminate the additional internal copy
of the "pristine" URL string
[ https://issues.apache.org/jira/browse/TS-1081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13533691#comment-13533691 ]
Bin Chen commented on TS-1081:
------------------------------
now, t_state.pristine_url is create in HttpSM::do_remap_request(). if request havn`t enter to remap, then t_state.pristine_url will be NULL.
> Eliminate the additional internal copy of the "pristine" URL string
> -------------------------------------------------------------------
>
> Key: TS-1081
> URL: https://issues.apache.org/jira/browse/TS-1081
> Project: Traffic Server
> Issue Type: Improvement
> Components: HTTP
> Reporter: Leif Hedstrom
> Assignee: Leif Hedstrom
> Fix For: 3.1.2
>
> Attachments: TS-1081.diff
>
>
> We have (at least) two copies of the pristine URL in the code. One is the actual URL object (as used by the APIs), and one is a string reference to the URL (char*). The latter is only used in a couple of places, primarily when the <cquuc> tag is used in a custom log format. I propose that we eliminate this additional string version of the pristine URL entirely.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira