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

Function StateAuthProxyWriteComplete

plugins/authproxy/authproxy.cc:555–566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

553}
554
555static TSEvent
556StateAuthProxyWriteComplete(AuthRequestContext *auth, void * /* edata ATS_UNUSED */)
557{
558 // We finished writing the auth proxy request. Kick off a read to get the response.
559 auth->iobuf.reset();
560
561 TSVConnRead(auth->vconn, auth->cont, auth->iobuf.buffer, std::numeric_limits<int64_t>::max());
562
563 // XXX Do we need to keep the read and write VIOs and close them?
564
565 return TS_EVENT_CONTINUE;
566}
567
568static TSEvent
569StateAuthProxyReadContent(AuthRequestContext *auth, void * /* edata ATS_UNUSED */)

Callers

nothing calls this directly

Calls 2

TSVConnReadFunction · 0.85
resetMethod · 0.45

Tested by

no test coverage detected