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

Method set_password

src/proxy/hdrs/URL.cc:472–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470 -------------------------------------------------------------------------*/
471
472void
473URLImpl::set_password(HdrHeap *heap, const char *value, int length, bool copy_string)
474{
475 url_called_set(this);
476 if (length == 0) {
477 value = nullptr;
478 }
479 mime_str_u16_set(heap, value, length, &(this->m_ptr_password), &(this->m_len_password), copy_string);
480}
481
482/*-------------------------------------------------------------------------
483 -------------------------------------------------------------------------*/

Callers 2

url_parse_internetFunction · 0.80
password_setMethod · 0.80

Calls 2

url_called_setFunction · 0.85
mime_str_u16_setFunction · 0.85

Tested by

no test coverage detected