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

Method set

src/proxy/ControlBase.cc:424–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424void
425TextMod::set(const char *value)
426{
427 free(this->text.data());
428 this->text.assign(ats_strdup(value), strlen(value));
429}
430
431struct MultiTextMod : public ControlBase::Modifier {
432 std::string _s; ///< Storage for all strings.

Callers 4

startupMethod · 0.45
reconfigureMethod · 0.45
reconfigureMethod · 0.45
makeMethod · 0.45

Calls 4

take_prefix_atMethod · 0.80
dataMethod · 0.45
assignMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected