提交 39dc72ac 编写于 作者: 浅梦2013's avatar 浅梦2013

🔥 mica-mqtt-core 排除一些不需要的依赖

上级 1f6ac8f5
......@@ -23,6 +23,20 @@
<dependency>
<groupId>org.t-io</groupId>
<artifactId>tio-websocket-server</artifactId>
<exclusions>
<exclusion>
<groupId>com.thoughtworks.paranamer</groupId>
<artifactId>paranamer</artifactId>
</exclusion>
<exclusion>
<groupId>com.esotericsoftware</groupId>
<artifactId>reflectasm</artifactId>
</exclusion>
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
......
......@@ -276,6 +276,7 @@ public class MqttWebServer {
httpConfig.setBindIp(serverCreator.getIp());
httpConfig.setName(serverCreator.getName() + "-HTTP/Websocket");
httpConfig.setCheckHost(false);
httpConfig.setMonitorFileChange(false);
this.httpConfig = httpConfig;
this.httpConfig.setHttpRequestHandler(this.httpRequestHandler);
this.mqttWebServerAioHandler = new MqttWebServerAioHandler(httpConfig, this.httpRequestHandler, wsMsgHandler);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册