MCPcopy Create free account
hub / github.com/apache/trafficserver / does_method_effect_cache

Function does_method_effect_cache

src/proxy/http/HttpTransact.cc:791–796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

789}
790
791inline static bool
792does_method_effect_cache(int method)
793{
794 return ((method == HTTP_WKSIDX_GET || method == HTTP_WKSIDX_DELETE || method == HTTP_WKSIDX_PURGE || method == HTTP_WKSIDX_PUT ||
795 method == HTTP_WKSIDX_POST));
796}
797
798inline static HttpTransact::StateMachineAction_t
799how_to_open_connection(HttpTransact::State *s)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected