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.ByteBuffer;
|
||||||
import java.nio.channels.ClosedChannelException;
|
import java.nio.channels.ClosedChannelException;
|
||||||
import java.nio.charset.StandardCharsets;
|
import java.nio.charset.StandardCharsets;
|
||||||
|
import java.util.List;
|
||||||
import java.util.concurrent.atomic.AtomicBoolean;
|
import java.util.concurrent.atomic.AtomicBoolean;
|
||||||
import java.util.concurrent.atomic.AtomicInteger;
|
import java.util.concurrent.atomic.AtomicInteger;
|
||||||
import javax.servlet.DispatcherType;
|
import javax.servlet.DispatcherType;
|
||||||
|
@ -246,8 +247,12 @@ public class HttpChannel implements Runnable
|
||||||
_response.getHttpOutput().reopen();
|
_response.getHttpOutput().reopen();
|
||||||
_request.setDispatcherType(DispatcherType.REQUEST);
|
_request.setDispatcherType(DispatcherType.REQUEST);
|
||||||
|
|
||||||
for (HttpConfiguration.Customizer customizer : _configuration.getCustomizers())
|
List<HttpConfiguration.Customizer> customizers = _configuration.getCustomizers();
|
||||||
customizer.customize(getConnector(),_configuration,_request);
|
if (!customizers.isEmpty())
|
||||||
|
{
|
||||||
|
for (HttpConfiguration.Customizer customizer : customizers)
|
||||||
|
customizer.customize(getConnector(), _configuration, _request);
|
||||||
|
}
|
||||||
getServer().handle(this);
|
getServer().handle(this);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue