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

Function http_config_enum_mask_read

src/proxy/http/HttpConfig.cc:163–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163static bool
164http_config_enum_mask_read(const char *name, MgmtByte &value)
165{
166 char key[512]; // it's just one key - painful UI if keys are longer than this
167 if (REC_ERR_OKAY == RecGetRecordString(name, key, sizeof(key))) {
168 return HttpConfig::load_server_session_sharing_match(key, value);
169 }
170 return false;
171}
172
173static const ConfigEnumPair<TSServerSessionSharingPoolType> SessionSharingPoolStrings[] = {
174 {TS_SERVER_SESSION_SHARING_POOL_GLOBAL, "global" },

Callers 1

startupMethod · 0.85

Calls 1

RecGetRecordStringFunction · 0.85

Tested by

no test coverage detected