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

Method _has_dynamic_stream_window

src/proxy/http2/Http2ConnectionState.cc:2905–2918  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2903}
2904
2905bool
2906Http2ConnectionState::_has_dynamic_stream_window() const
2907{
2908 switch (this->_get_configured_flow_control_policy()) {
2909 case Http2FlowControlPolicy::STATIC_SESSION_AND_STATIC_STREAM:
2910 case Http2FlowControlPolicy::LARGE_SESSION_AND_STATIC_STREAM:
2911 return false;
2912 case Http2FlowControlPolicy::LARGE_SESSION_AND_DYNAMIC_STREAM:
2913 return true;
2914 }
2915
2916 // This is unreachable, but adding a return here quiets a compiler warning.
2917 return false;
2918}
2919
2920ssize_t
2921Http2ConnectionState::get_peer_rwnd() const

Callers 2

create_streamMethod · 0.95

Tested by

no test coverage detected