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

Function TSFetchPages

src/api/InkAPI.cc:6605–6619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6603}
6604
6605void
6606TSFetchPages(TSFetchUrlParams_t *params)
6607{
6608 TSFetchUrlParams_t *myparams = params;
6609
6610 while (myparams != nullptr) {
6611 FetchSM *fetch_sm = FetchSMAllocator.alloc();
6612 sockaddr *addr = ats_ip_sa_cast(&myparams->ip);
6613
6614 fetch_sm->init(reinterpret_cast<Continuation *>(myparams->contp), myparams->options, myparams->events, myparams->request,
6615 myparams->request_len, addr);
6616 fetch_sm->httpConnect();
6617 myparams = myparams->next;
6618 }
6619}
6620
6621TSFetchSM
6622TSFetchUrl(const char *headers, int request_len, sockaddr const *ip, TSCont contp, TSFetchWakeUpOptions callback_options,

Callers

nothing calls this directly

Calls 4

ats_ip_sa_castFunction · 0.85
httpConnectMethod · 0.80
allocMethod · 0.45
initMethod · 0.45

Tested by

no test coverage detected