修复sncpAsyncGroup未启动的bug
This commit is contained in:
@@ -857,6 +857,9 @@ public abstract class NodeServer {
|
|||||||
if (interceptor != null) {
|
if (interceptor != null) {
|
||||||
interceptor.preStart(this);
|
interceptor.preStart(this);
|
||||||
}
|
}
|
||||||
|
if (this.sncpAsyncGroup != null) {
|
||||||
|
this.sncpAsyncGroup.start();
|
||||||
|
}
|
||||||
server.start();
|
server.start();
|
||||||
postStartServer(localServices, remoteServices, servletServices);
|
postStartServer(localServices, remoteServices, servletServices);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1148,6 +1148,10 @@ public final class ByteArray implements ByteTuple {
|
|||||||
return new String(content, 0, count);
|
return new String(content, 0, count);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String toUTF8String() {
|
||||||
|
return new String(content, 0, count, StandardCharsets.UTF_8);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 按指定字符集转成字符串
|
* 按指定字符集转成字符串
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user