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

Method _decode

src/proxy/http3/QPACK.cc:977–991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

975}
976
977void
978QPACK::_decode(EThread *ethread, Continuation *cont, uint64_t stream_id, const uint8_t *header_block, size_t header_block_len,
979 HTTPHdr &hdr)
980{
981 int event;
982 int res = this->_decode_header(header_block, header_block_len, hdr);
983 if (res < 0) {
984 event = QPACK_EVENT_DECODE_FAILED;
985 QPACKDebug("decoding header failed (%d)", res);
986 } else {
987 event = QPACK_EVENT_DECODE_COMPLETE;
988 this->_write_header_acknowledgement(stream_id);
989 }
990 ethread->schedule_imm(cont, event, &hdr);
991}
992
993bool
994QPACK::_add_to_blocked_list(DecodeRequest *decode_request)

Callers 2

decodeMethod · 0.95
_resume_decodeMethod · 0.95

Calls 3

_decode_headerMethod · 0.95
schedule_immMethod · 0.45

Tested by

no test coverage detected