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

Method decode_header_blocks

src/proxy/http2/Http2Stream.cc:284–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284Http2ErrorCode
285Http2Stream::decode_header_blocks(HpackHandle &hpack_handle, uint32_t maximum_table_size)
286{
287 Http2ErrorCode error =
288 http2_decode_header_blocks(&_receive_header, (const uint8_t *)header_blocks, header_blocks_length, nullptr, hpack_handle,
289 _trailing_header_is_possible, maximum_table_size, this->is_outbound_connection());
290 if (error != Http2ErrorCode::HTTP2_ERROR_NO_ERROR) {
291 Http2StreamDebug("Error decoding header blocks: %u", static_cast<uint32_t>(error));
292 }
293 return error;
294}
295
296void
297Http2Stream::send_headers(Http2ConnectionState & /* cstate ATS_UNUSED */)

Callers 2

rcv_headers_frameMethod · 0.80

Calls 2

Tested by

no test coverage detected