Description
This is what we have now:
HttpConfiguration httpConfig = new HttpConfiguration(); httpConfig.setRequestHeaderSize( config.getHttpServerRequestHeaderBuffer() ); httpConfig.setResponseHeaderSize( config.getHttpServerResponseHeaderBuffer() ); httpConfig.setOutputBufferSize( config.getHttpServerResponseBuffer() ); if (config.isSSLEnabled()) { HttpConfiguration httpsConfig = new HttpConfiguration( httpConfig ); ... connector = new ServerConnector( server, sslContextFactory, new HttpConnectionFactory( httpsConfig ) ); } else { connector = new ServerConnector( server ); }
When SSL is not enabled, the previously created httpConfig is not set in the created ServerConnector instance. Therefore, those properties do not take effect in those clusters.
Attachments
Issue Links
- links to