apache / trafficserver

Apache Traffic Serverâ„¢ is a fast, scalable and extensible HTTP/1.1 and HTTP/2 compliant caching proxy server.
https://trafficserver.apache.org/
Apache License 2.0
1.82k stars 804 forks source link

The cache control rule with dest_ip as the primary key in cache.config does not take effect #2844

Open zhang15535135608 opened 6 years ago

zhang15535135608 commented 6 years ago

Cache control rules are matched by function getCacheControl. this function is called after the client's request has been read.At this point, the dest_ip in HttpRequestData is empty,so it's impossible to match primary key is dest_ip. And,after parsing DNS,The function is not called again for matching.

bryancall commented 5 years ago

Relates to #1329

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.