traeak commented on code in PR #13611:
URL: https://github.com/apache/trafficserver/pull/13611#discussion_r3959471383
##########
include/proxy/http/HttpSM.h:
##########
@@ -344,6 +341,21 @@ class HttpSM : public Continuation, public
PluginUserArgs<TS_USER_ARGS_TXN>
void set_http_schedule(Continuation *);
int get_http_schedule(int event, void *data);
+ static bool
+ should_use_compatibility_cache_key(CompatibilityCacheLookup lookup)
+ {
+ return lookup == CompatibilityCacheLookup::COMPAT_CACHE_LOOKUP_92;
+ }
+
+ static CacheHTTPInfo *
+ cache_write_info_for_lookup(CompatibilityCacheLookup lookup, CacheHTTPInfo
*object_read_info)
+ {
+ if (should_use_compatibility_cache_key(lookup)) {
+ return nullptr;
+ }
+ return object_read_info;
+ }
Review Comment:
moved function to more available locaiton.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]