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

Function http2_parse_rst_stream

src/proxy/http2/HTTP2.cc:325–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323}
324
325bool
326http2_parse_rst_stream(IOVec iov, Http2RstStream &rst_stream)
327{
328 byte_pointer ptr(iov.iov_base);
329 byte_addressable_value<uint32_t> ec;
330
331 memcpy_and_advance(ec.bytes, ptr);
332
333 rst_stream.error_code = ntohl(ec.value);
334
335 return true;
336}
337
338bool
339http2_parse_settings_parameter(IOVec iov, Http2SettingsParameter &param)

Callers 1

rcv_rst_stream_frameMethod · 0.85

Calls 1

memcpy_and_advanceFunction · 0.85

Tested by

no test coverage detected