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

Function TSVConnRead

src/api/InkAPI.cc:5796–5809  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5794}
5795
5796TSVIO
5797TSVConnRead(TSVConn connp, TSCont contp, TSIOBuffer bufp, int64_t nbytes)
5798{
5799 sdk_assert(sdk_sanity_check_iocore_structure(connp) == TS_SUCCESS);
5800 sdk_assert(sdk_sanity_check_iocore_structure(contp) == TS_SUCCESS);
5801 sdk_assert(sdk_sanity_check_iocore_structure(bufp) == TS_SUCCESS);
5802 sdk_assert(nbytes >= 0);
5803
5804 FORCE_PLUGIN_SCOPED_MUTEX(contp);
5805 VConnection *vc = reinterpret_cast<VConnection *>(connp);
5806
5807 return reinterpret_cast<TSVIO>(
5808 vc->do_io_read(reinterpret_cast<INKContInternal *>(contp), nbytes, reinterpret_cast<MIOBuffer *>(bufp)));
5809}
5810
5811TSVIO
5812TSVConnWrite(TSVConn connp, TSCont contp, TSIOBufferReader readerp, int64_t nbytes)

Callers 15

readMethod · 0.85
state_startFunction · 0.85
transform_read_statusFunction · 0.85
transform_readFunction · 0.85
readMethod · 0.85
handle_acceptFunction · 0.85
synserver_vc_acceptFunction · 0.85
server_handlerFunction · 0.85
cache_handlerFunction · 0.85

Calls 2

do_io_readMethod · 0.45

Tested by 4

synserver_vc_acceptFunction · 0.68
server_handlerFunction · 0.68
cache_handlerFunction · 0.68