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 2014/10/29 23:43:34 UTC

[jira] [Comment Edited] (TS-3159) Via codes for cache hits/misses ought to match internal Squid Codes

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

Leif Hedstrom edited comment on TS-3159 at 10/29/14 10:42 PM:
--------------------------------------------------------------

Doing this would also unobfuscate some of the code around coding/decoding this information through the Via header, which is pretty confusing. In particular, I think some of the logic around
{code}
void
HttpTransactHeaders::generate_and_set_squid_codes(HTTPHdr *header,
                                                 char *via_string,
                                                 HttpTransact::SquidLogInfo *squid_codes)
{code}

could get simplified, if we passed this information from the cache back through the HttpSM.


was (Author: zwoop):
Doing this would also unobfuscate some of the code around coding/decoding this information through the Via header, which is pretty confusing.

> Via codes for cache hits/misses ought to match internal Squid Codes
> -------------------------------------------------------------------
>
>                 Key: TS-3159
>                 URL: https://issues.apache.org/jira/browse/TS-3159
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Cache, Logging
>            Reporter: Leif Hedstrom
>             Fix For: sometime
>
>
> This would be an incompatible change, so would go into v6 or v7 at the earliest. I'm marking it for Sometimes.
> The reason this is useful is going forward, we have multiple cache tiers. The Squid codes can track that, but the Via code only has RAM cache hit (or not).
> This is somewhat related to TS-3036.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)