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

Function TSVConnWrite

src/api/InkAPI.cc:5811–5824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5809}
5810
5811TSVIO
5812TSVConnWrite(TSVConn connp, TSCont contp, TSIOBufferReader readerp, int64_t nbytes)
5813{
5814 sdk_assert(sdk_sanity_check_iocore_structure(connp) == TS_SUCCESS);
5815 sdk_assert(sdk_sanity_check_iocore_structure(contp) == TS_SUCCESS);
5816 sdk_assert(sdk_sanity_check_iocore_structure(readerp) == TS_SUCCESS);
5817 sdk_assert(nbytes >= 0);
5818
5819 FORCE_PLUGIN_SCOPED_MUTEX(contp);
5820 VConnection *vc = reinterpret_cast<VConnection *>(connp);
5821
5822 return reinterpret_cast<TSVIO>(
5823 vc->do_io_write(reinterpret_cast<INKContInternal *>(contp), nbytes, reinterpret_cast<IOBufferReader *>(readerp)));
5824}
5825
5826void
5827TSVConnClose(TSVConn connp)

Callers 15

writeMethod · 0.85
state_connect_to_serverFunction · 0.85
send_response_to_clientFunction · 0.85
handle_outputFunction · 0.85
transform_writeFunction · 0.85
transform_readFunction · 0.85
transform_bypassFunction · 0.85
handle_transformFunction · 0.85
writeMethod · 0.85
handle_transformFunction · 0.85
handle_scanFunction · 0.85

Calls 2

do_io_writeMethod · 0.45

Tested by 4

cache_handlerFunction · 0.68
handle_transformFunction · 0.68