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

Method loadConfig

src/records/RecHttp.cc:284–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284bool
285HttpProxyPort::loadConfig(std::vector<self> &entries)
286{
287 char *text;
288 bool found_p;
289
290 text = REC_readString(PORTS_CONFIG_NAME, &found_p);
291 if (found_p) {
292 self::loadValue(entries, text);
293 }
294 ats_free(text);
295
296 return 0 < entries.size();
297}
298
299bool
300HttpProxyPort::loadDefaultIfEmpty(Group &ports)

Callers

nothing calls this directly

Calls 3

REC_readStringFunction · 0.85
ats_freeFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected