Update Tomcat to 8.5.6
Align with Boot 2.0 * Align some other version with Boot and IO
This commit is contained in:
committed by
Artem Bilan
parent
bc525cf6ea
commit
4c462a8972
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2014-2016 the original author or authors.
|
||||
* Copyright 2014-2017 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -35,7 +35,7 @@ import java.util.concurrent.CountDownLatch;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
|
||||
import org.apache.tomcat.websocket.WsWebSocketContainer;
|
||||
import org.apache.tomcat.websocket.Constants;
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
@@ -94,8 +94,8 @@ public class ClientWebSocketContainerTests {
|
||||
};
|
||||
|
||||
Map<String, Object> userProperties = new HashMap<String, Object>();
|
||||
userProperties.put(WsWebSocketContainer.IO_TIMEOUT_MS_PROPERTY,
|
||||
"" + (WsWebSocketContainer.IO_TIMEOUT_MS_DEFAULT * 6));
|
||||
userProperties.put(Constants.IO_TIMEOUT_MS_PROPERTY,
|
||||
"" + (Constants.IO_TIMEOUT_MS_DEFAULT * 6));
|
||||
webSocketClient.setUserProperties(userProperties);
|
||||
|
||||
ClientWebSocketContainer container =
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2014-2015 the original author or authors.
|
||||
* Copyright 2014-2017 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -50,7 +50,7 @@ public class TomcatWebSocketTestServer implements InitializingBean, DisposableBe
|
||||
context.addApplicationListener(WsContextListener.class.getName());
|
||||
Tomcat.addServlet(context, "dispatcherServlet", new DispatcherServlet(this.serverContext))
|
||||
.setAsyncSupported(true);
|
||||
context.addServletMapping("/", "dispatcherServlet");
|
||||
context.addServletMappingDecoded("/", "dispatcherServlet");
|
||||
}
|
||||
|
||||
private String createTempDir() {
|
||||
|
||||
Reference in New Issue
Block a user