Issue #752 - Implement support for HTTP2 SETTINGS_MAX_HEADER_LIST_SIZE.
Reverted to warning if a small SETTINGS_MAX_HEADER_LIST_SIZE. is received. Setting it on the httpConfig effects all connections, not just the one the setting was received from.
This commit is contained in:
parent
088dc036b4
commit
849d51c07d
|
@ -107,7 +107,7 @@ public class HTTP2ServerConnectionFactory extends AbstractHTTP2ServerConnectionF
|
||||||
HttpConfiguration httpConfig = getHttpConfiguration();
|
HttpConfiguration httpConfig = getHttpConfiguration();
|
||||||
Integer mhls = frame.getSettings().get(SettingsFrame.MAX_HEADER_LIST_SIZE);
|
Integer mhls = frame.getSettings().get(SettingsFrame.MAX_HEADER_LIST_SIZE);
|
||||||
if (mhls != null && mhls < httpConfig.getResponseHeaderSize())
|
if (mhls != null && mhls < httpConfig.getResponseHeaderSize())
|
||||||
httpConfig.setResponseHeaderSize(mhls);
|
LOG.warn("MAX_HEADER_LIST_SIZE<{} for {}",getHttpConfiguration().getResponseHeaderSize(),session);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue