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

Method url_set

include/proxy/hdrs/HTTP.h:1035–1043  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1033 -------------------------------------------------------------------------*/
1034
1035inline void
1036HTTPHdr::url_set(URL *url)
1037{
1038 ink_assert(valid());
1039 ink_assert(m_http->m_polarity == HTTP_TYPE_REQUEST);
1040
1041 URLImpl *url_impl = m_http->u.req.m_url_impl;
1042 ::url_copy_onto(url->m_url_impl, url->m_heap, url_impl, m_heap, true);
1043}
1044
1045/*-------------------------------------------------------------------------
1046 -------------------------------------------------------------------------*/

Calls 3

url_copy_ontoFunction · 0.85
url_clearFunction · 0.85
url_parseFunction · 0.85

Tested by

no test coverage detected