clang-format
This commit is contained in:
parent
6d7f1256de
commit
ab11b2bba5
|
@ -7458,8 +7458,8 @@ static int nghttp2_session_upgrade_internal(nghttp2_session *session,
|
||||||
return NGHTTP2_ERR_INVALID_ARGUMENT;
|
return NGHTTP2_ERR_INVALID_ARGUMENT;
|
||||||
}
|
}
|
||||||
/* SETTINGS frame contains too many settings */
|
/* SETTINGS frame contains too many settings */
|
||||||
if (settings_payloadlen / NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH
|
if (settings_payloadlen / NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH >
|
||||||
> session->max_settings) {
|
session->max_settings) {
|
||||||
return NGHTTP2_ERR_TOO_MANY_SETTINGS;
|
return NGHTTP2_ERR_TOO_MANY_SETTINGS;
|
||||||
}
|
}
|
||||||
rv = nghttp2_frame_unpack_settings_payload2(&iv, &niv, settings_payload,
|
rv = nghttp2_frame_unpack_settings_payload2(&iv, &niv, settings_payload,
|
||||||
|
|
Loading…
Reference in New Issue