472931 - HttpConfiguration copy constructor incomplete

This commit is contained in:
Greg Wilkins 2015-07-17 23:50:39 +10:00
parent edc8bae556
commit 54995452d6
1 changed files with 8 additions and 3 deletions

View File

@ -103,16 +103,21 @@ public class HttpConfiguration
public HttpConfiguration(HttpConfiguration config)
{
_customizers.addAll(config._customizers);
for (String s:config._formEncodedMethods.keySet())
_formEncodedMethods.put(s,Boolean.TRUE);
_outputBufferSize=config._outputBufferSize;
_outputAggregationSize=config._outputAggregationSize;
_requestHeaderSize=config._requestHeaderSize;
_responseHeaderSize=config._responseHeaderSize;
_securePort=config._securePort;
_headerCacheSize=config._headerCacheSize;
_secureScheme=config._secureScheme;
_securePort=config._securePort;
_blockingTimeout=config._blockingTimeout;
_sendDateHeader=config._sendDateHeader;
_sendServerVersion=config._sendServerVersion;
_headerCacheSize=config._headerCacheSize;
_blockingTimeout=config._blockingTimeout;
_sendXPoweredBy=config._sendXPoweredBy;
_delayDispatchUntilContent=config._delayDispatchUntilContent;
_persistentConnectionsEnabled=config._persistentConnectionsEnabled;
}
/* ------------------------------------------------------------ */