Commit 4aa79763 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Clarify code path when appending inflight_settings

parent 057db656
...@@ -6761,9 +6761,9 @@ int nghttp2_session_add_settings(nghttp2_session *session, uint8_t flags, ...@@ -6761,9 +6761,9 @@ 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment