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

Method read

example/plugins/c-api/intercept/intercept.cc:90–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 }
89
90 void
91 read(TSVConn vc, TSCont contp)
92 {
93 TSReleaseAssert(this->vio == nullptr);
94
95 this->iobuf = TSIOBufferCreate();
96 TSReleaseAssert(this->iobuf);
97 this->reader = TSIOBufferReaderAlloc(this->iobuf);
98 TSReleaseAssert(this->reader);
99
100 this->vio = TSVConnRead(vc, contp, this->iobuf, INT64_MAX);
101 }
102
103 void
104 write(TSVConn vc, TSCont contp)

Callers 1

InterceptInterceptHookFunction · 0.45

Calls 3

TSIOBufferCreateFunction · 0.85
TSIOBufferReaderAllocFunction · 0.85
TSVConnReadFunction · 0.85

Tested by

no test coverage detected