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

Method find_stream

src/proxy/http2/Http2ConnectionState.cc:1888–1898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1886}
1887
1888Http2Stream *
1889Http2ConnectionState::find_stream(Http2StreamId id) const
1890{
1891 for (Http2Stream *s = stream_list.head; s; s = static_cast<Http2Stream *>(s->link.next)) {
1892 if (s->get_id() == id) {
1893 return s;
1894 }
1895 ink_assert(s != s->link.next);
1896 }
1897 return nullptr;
1898}
1899
1900void
1901Http2ConnectionState::restart_streams()

Callers 5

rcv_data_frameMethod · 0.95
rcv_headers_frameMethod · 0.95
rcv_rst_stream_frameMethod · 0.95

Calls 1

get_idMethod · 0.45

Tested by

no test coverage detected