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

Method set_token

plugins/origin_server_auth/origin_server_auth.cc:456–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454 _keyid_len = strlen(s);
455 }
456 void
457 set_token(const char *s)
458 {
459 TSfree(_token);
460 _token = TSstrdup(s);
461 _token_len = strlen(s);
462 }
463 void
464 set_virt_host(bool f = true)
465 {

Callers 1

TSRemapNewInstanceFunction · 0.80

Calls 2

TSfreeFunction · 0.85
TSstrdupFunction · 0.85

Tested by

no test coverage detected