Clarify code path when appending inflight_settings

This commit is contained in:
Tatsuhiro Tsujikawa 2016-06-21 22:32:08 +09:00
parent 057db65657
commit 4aa79763be
1 changed files with 2 additions and 2 deletions

View File

@ -6761,9 +6761,9 @@ int nghttp2_session_add_settings(nghttp2_session *session, uint8_t flags,
if (flags & NGHTTP2_FLAG_ACK) {
++session->obq_flood_counter_;
}
} else {
session_append_inflight_settings(session, inflight_settings);
}
/* Extract NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS and ENABLE_PUSH
here. We use it to refuse the incoming stream and PUSH_PROMISE