mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-10 19:57:54 +01:00
try to fix channel type
This commit is contained in:
parent
e14f3eb121
commit
e7fc7e9139
@ -31,7 +31,7 @@ object ProtocolDetector {
|
||||
try {
|
||||
val ch: ChannelFuture = Bootstrap()
|
||||
.group(childLoop)
|
||||
.channel(NioSocketChannel::class.java)
|
||||
.channelFactory(channelSocketFactory())
|
||||
.option(ChannelOption.TCP_NODELAY, true)
|
||||
.option(ChannelOption.IP_TOS, 0x18)
|
||||
.handler(object : ChannelInitializer<Channel>() {
|
||||
@ -74,4 +74,4 @@ object ProtocolDetector {
|
||||
CompletableFuture.completedFuture(null)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user