Hi,
i have found that using picture's api get the cached orgin server reponse
size by gdb in TS_EVENT_HTTP_CACHE_LOOKUP_COMPLETE event Phase. but i really
want to get that client receive cached reponse header size.what shoule i do?
for example:
cached origin server response header:
HTTP/1.1 200 OK
Server: nginx/1.9.7
Date: Mon, 02 Jul 2018 04:00:07 GMT
Content-Type: application/vnd.apple.mpegurl
Content-Length: 272
Last-Modified: Wed, 20 Dec 2017 07:23:49 GMT
Connection: keep-alive
ETag: abcdefg
Accept-Ranges: bytes
client received cached reponse header: -> i want to get this length ,what
should i do ?
HTTP/1.0 200 OK
Server: ATS/6.2.1
Date: Mon, 02 Jul 2018 04:00:07 GMT
Content-Type: application/vnd.apple.mpegurl
Content-Length: 272
Last-Modified: Wed, 20 Dec 2017 07:23:49 GMT
ETag: abcdefg
Accept-Ranges: bytes
Age: 12352
Via: http/1.1 S-LAB-53 (ApacheTrafficServer/6.2.1 [cHs f ])
------------------ ???????? ------------------
??????: "zzz"<[email protected]>;
????????: 2018??6??29??(??????) ????11:25
??????: "928991159"<[email protected]>;
????: "dev"<[email protected]>;
????: Re: new developer, about plugin
Hi,Have you tried to enable the debug tag[1] as "http" and check the log?
Or even better, please try to use a debugger to see which step goes wrong.
[1]
https://docs.trafficserver.apache.org/en/6.2.x/developer-guide/debugging/debug-tags.en.html
2018-06-29 7:30 GMT-07:00 928991159 <[email protected]>:
littler than reality, reality is about 300,but use API about 200
????????iPhone
------------------ Original ------------------
From: Alan Carroll <[email protected]>
Date: ????,6?? 29,2018 8:16 ????
To: dev <[email protected]>
Subject: Re: new developer, about plugin
In what way is the data incorrect? Is it too large, always zero, random?