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

Function url_nuke_proxy_stuff

src/proxy/hdrs/URL.cc:300–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298 -------------------------------------------------------------------------*/
299
300void
301url_nuke_proxy_stuff(URLImpl *d_url)
302{
303 d_url->m_len_scheme = 0;
304 d_url->m_len_user = 0;
305 d_url->m_len_password = 0;
306 d_url->m_len_host = 0;
307 d_url->m_len_port = 0;
308
309 d_url->m_ptr_scheme = nullptr;
310 d_url->m_ptr_user = nullptr;
311 d_url->m_ptr_password = nullptr;
312 d_url->m_ptr_host = nullptr;
313 d_url->m_ptr_port = nullptr;
314
315 d_url->m_scheme_wks_idx = -1;
316 d_url->m_port = 0;
317}
318
319/*-------------------------------------------------------------------------
320 -------------------------------------------------------------------------*/

Callers 2

redirect_requestMethod · 0.85
nuke_proxy_stuffMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected