You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Galić (JIRA)" <ji...@apache.org> on 2011/09/25 22:17:26 UTC

[jira] [Commented] (TS-966) cache.config dest_domain= dest_hostname= dest_ip= do not match anything

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

Igor Galić commented on TS-966:
-------------------------------

If I read the source code right,
{noformat}
         case MATCH_HOST:
         case MATCH_DOMAIN:       
           hostDomain++;
           break;
{noformat}
{{dest_domain}} and {{dest_hostname}} do the same. I think we should make {{dest_domain=example.org}} match things {{example.org}}, {{www.example.org}} and {{not.quite.so.www.example.org}} while {{dest_host=foobar.example.org}} should only match {{foobar.example.org}}

> cache.config dest_domain= dest_hostname= dest_ip= do not match anything
> -----------------------------------------------------------------------
>
>                 Key: TS-966
>                 URL: https://issues.apache.org/jira/browse/TS-966
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache
>    Affects Versions: 3.1.0, 3.0.1
>            Reporter: Igor Galić
>
> Caching policies are not applied when using these options to match targets.
> It is also not very clear *what* dest_domain= vs dest_hostname= can match.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira