You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Zhao Yongming (JIRA)" <ji...@apache.org> on 2013/12/28 16:21:50 UTC

[jira] [Closed] (TS-2456) via codes is not correct

     [ https://issues.apache.org/jira/browse/TS-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhao Yongming closed TS-2456.
-----------------------------

    Resolution: Invalid
      Assignee: Zhao Yongming

> via codes is not correct
> ------------------------
>
>                 Key: TS-2456
>                 URL: https://issues.apache.org/jira/browse/TS-2456
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>            Reporter: Zhao Yongming
>            Assignee: Zhao Yongming
>
> in my testing of the current master, my testing show that sames the via header is saved in the cache:
> {code}
> [root@xxx /opt/zym]
> #echo -ne "GET http://zymlinux.net/robots.txt?15 HTTP/1.0\r\n\r\n" | nc -i 1 xxx.xxx.xxx.xxx 18080
> HTTP/1.0 200 OK
> Date: Sat, 28 Dec 2013 14:58:25 GMT
> Server: ATS/4.2.0
> Last-Modified: Sat, 04 Dec 2010 14:11:58 GMT
> ETag: "22-496963ce8e780"
> Accept-Ranges: bytes
> Content-Length: 34
> Cache-Control: max-age=30
> Expires: Sat, 28 Dec 2013 14:58:55 GMT
> Content-Type: text/plain; charset=UTF-8
> Age: 27
> Via: http/1.1 zymlinux.net (ApacheTrafficServer/4.2.0 [cSsNfU])
> User-agent: *
> Disallow: /packages
> [root@xxx /opt/zym]
> #bin/traffic_logcat var/log/trafficserver/squid.blog
> 1388240883.773 1256 127.0.0.1 TCP_MISS/200 404 GET http://zymlinux.net/robots.txt - DIRECT/zymlinux.net text/plain -
> 1388241001.783 747 xxx.xxx.xxx.xxx TCP_REFRESH_HIT/200 404 GET http://zymlinux.net/robots.txt - DIRECT/zymlinux.net text/plain -
> 1388241011.755 0 xxx.xxx.xxx.xxx TCP_HIT/200 405 GET http://zymlinux.net/robots.txt - NONE/- text/plain -
> 1388241315.000 316 xxx.xxx.xxx.xxx TCP_MISS/200 405 GET http://zymlinux.net/robots.txt?2 - DIRECT/zymlinux.net text/plain -
> 1388241436.932 597 xxx.xxx.xxx.xxx TCP_MISS/200 405 GET http://zymlinux.net/robots.txt?4 - DIRECT/zymlinux.net text/plain -
> 1388241445.145 714 xxx.xxx.xxx.xxx TCP_MISS/200 404 GET http://zymlinux.net/robots.txt?5 - DIRECT/zymlinux.net text/plain -
> 1388241831.236 301 xxx.xxx.xxx.xxx TCP_MISS/200 404 GET http://zymlinux.net/robots.txt?11 - DIRECT/zymlinux.net text/plain -
> 1388241845.175 300 xxx.xxx.xxx.xxx TCP_MISS/200 404 GET http://zymlinux.net/robots.txt?12 - DIRECT/zymlinux.net text/plain -
> 1388241854.963 155 xxx.xxx.xxx.xxx TCP_MISS/200 404 GET http://zymlinux.net/robots.txt?13 - DIRECT/zymlinux.net text/plain -
> 1388241987.221 354 xxx.xxx.xxx.xxx TCP_MISS/200 404 GET http://zymlinux.net/robots.txt?14 - DIRECT/zymlinux.net text/plain -
> 1388242569.699 299 xxx.xxx.xxx.xxx TCP_MISS/200 404 GET http://zymlinux.net/robots.txt?15 - DIRECT/zymlinux.net text/plain -
> 1388242575.331 0 xxx.xxx.xxx.xxx TCP_HIT/200 404 GET http://zymlinux.net/robots.txt?15 - NONE/- text/plain -
> 1388242579.569 0 xxx.xxx.xxx.xxx TCP_HIT/200 405 GET http://zymlinux.net/robots.txt?15 - NONE/- text/plain -
> 1388242705.264 922 xxx.xxx.xxx.xxx TCP_REFRESH_HIT/200 404 GET http://zymlinux.net/robots.txt?15 - DIRECT/zymlinux.net text/plain -
> 1388242714.882 0 xxx.xxx.xxx.xxx TCP_HIT/200 405 GET http://zymlinux.net/robots.txt?15 - NONE/- text/plain -
> 1388242731.751 0 xxx.xxx.xxx.xxx TCP_HIT/200 405 GET http://zymlinux.net/robots.txt?15 - NONE/- text/plain -
> [root@xxx /opt/zym]
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)