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

Method _initialize

src/cripts/Urls.cc:453–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451}
452
453void
454Pristine::URL::_initialize()
455{
456 Pristine::URL *url = &_context->_urls.pristine;
457
458 TSAssert(_context->state.txnp);
459 if (TSHttpTxnPristineUrlGet(_context->state.txnp, &url->_bufp, &url->_urlp) != TS_SUCCESS) {
460 _context->state.error.Fail();
461 } else {
462 super_type::_initialize(); // Only if successful
463 }
464}
465
466void
467Client::URL::_initialize()

Callers 1

operator[]Method · 0.45

Calls 11

TSHttpTxnPristineUrlGetFunction · 0.85
TSHttpHdrUrlGetFunction · 0.85
TSUrlCreateFunction · 0.85
TSUrlCloneFunction · 0.85
rriValidMethod · 0.80
BufPMethod · 0.80
MLocMethod · 0.80
UrlPMethod · 0.80
FailMethod · 0.45

Tested by

no test coverage detected