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

Method set_user

src/proxy/hdrs/URL.cc:459–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457 -------------------------------------------------------------------------*/
458
459void
460URLImpl::set_user(HdrHeap *heap, const char *value, int length, bool copy_string)
461{
462 url_called_set(this);
463 if (length == 0) {
464 value = nullptr;
465 }
466 mime_str_u16_set(heap, value, length, &(this->m_ptr_user), &(this->m_len_user), copy_string);
467}
468
469/*-------------------------------------------------------------------------
470 -------------------------------------------------------------------------*/

Callers 2

url_parse_internetFunction · 0.80
user_setMethod · 0.80

Calls 2

url_called_setFunction · 0.85
mime_str_u16_setFunction · 0.85

Tested by

no test coverage detected