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

Method set_path

src/proxy/hdrs/URL.cc:538–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

536 -------------------------------------------------------------------------*/
537
538void
539URLImpl::set_path(HdrHeap *heap, const char *value, int length, bool copy_string)
540{
541 url_called_set(this);
542 if (length == 0) {
543 value = nullptr;
544 }
545 mime_str_u16_set(heap, value, length, &(this->m_ptr_path), &(this->m_len_path), copy_string);
546}
547
548/*-------------------------------------------------------------------------
549 -------------------------------------------------------------------------*/

Callers 5

url_parse_httpFunction · 0.80
url_parse_http_regexFunction · 0.80
test_HdrHeap.ccFile · 0.80
path_setMethod · 0.80

Calls 2

url_called_setFunction · 0.85
mime_str_u16_setFunction · 0.85

Tested by

no test coverage detected