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

Method is_valid_streamid

include/proxy/http2/Http2ConnectionState.h:516–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

514}
515
516inline bool
517Http2ConnectionState::is_valid_streamid(Http2StreamId id) const
518{
519 if (http2_is_client_streamid(id)) {
520 return id <= get_latest_stream_id_in();
521 } else {
522 return id <= get_latest_stream_id_out();
523 }
524}
525
526inline Http2ShutdownState
527Http2ConnectionState::get_shutdown_state() const

Callers 5

rcv_data_frameMethod · 0.95
rcv_headers_frameMethod · 0.95
rcv_rst_stream_frameMethod · 0.95

Calls 1

http2_is_client_streamidFunction · 0.85

Tested by

no test coverage detected