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

Method update_defaults

plugins/compress/configuration.cc:120–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void
121HostConfiguration::update_defaults()
122{
123 // maintain backwards compatibility/usability out of the box
124 if (compressible_status_codes_.empty()) {
125 compressible_status_codes_ = {TS_HTTP_STATUS_OK, TS_HTTP_STATUS_PARTIAL_CONTENT, TS_HTTP_STATUS_NOT_MODIFIED};
126 }
127}
128
129void
130HostConfiguration::add_allow(const std::string &allow)

Callers 1

ParseMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected