Clarify code path when appending inflight_settings
This commit is contained in:
parent
057db65657
commit
4aa79763be
|
@ -6761,10 +6761,10 @@ int nghttp2_session_add_settings(nghttp2_session *session, uint8_t flags,
|
||||||
|
|
||||||
if (flags & NGHTTP2_FLAG_ACK) {
|
if (flags & NGHTTP2_FLAG_ACK) {
|
||||||
++session->obq_flood_counter_;
|
++session->obq_flood_counter_;
|
||||||
|
} else {
|
||||||
|
session_append_inflight_settings(session, inflight_settings);
|
||||||
}
|
}
|
||||||
|
|
||||||
session_append_inflight_settings(session, inflight_settings);
|
|
||||||
|
|
||||||
/* Extract NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS and ENABLE_PUSH
|
/* Extract NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS and ENABLE_PUSH
|
||||||
here. We use it to refuse the incoming stream and PUSH_PROMISE
|
here. We use it to refuse the incoming stream and PUSH_PROMISE
|
||||||
with RST_STREAM. */
|
with RST_STREAM. */
|
||||||
|
|
Loading…
Reference in New Issue