Merged branch 'origin/master' into 'jetty-http2'.
This commit is contained in:
commit
391b2bb481
|
@ -23,6 +23,7 @@ import java.net.InetSocketAddress;
|
|||
import java.nio.ByteBuffer;
|
||||
import java.nio.channels.ClosedChannelException;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
import javax.servlet.DispatcherType;
|
||||
|
@ -246,8 +247,12 @@ public class HttpChannel implements Runnable
|
|||
_response.getHttpOutput().reopen();
|
||||
_request.setDispatcherType(DispatcherType.REQUEST);
|
||||
|
||||
for (HttpConfiguration.Customizer customizer : _configuration.getCustomizers())
|
||||
customizer.customize(getConnector(),_configuration,_request);
|
||||
List<HttpConfiguration.Customizer> customizers = _configuration.getCustomizers();
|
||||
if (!customizers.isEmpty())
|
||||
{
|
||||
for (HttpConfiguration.Customizer customizer : customizers)
|
||||
customizer.customize(getConnector(), _configuration, _request);
|
||||
}
|
||||
getServer().handle(this);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue