We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21f061f commit ce8fb32Copy full SHA for ce8fb32
02nio/nio01/src/main/java/java0/nio01/netty/NettyHttpServer.java
@@ -31,6 +31,7 @@ public static void main(String[] args) throws InterruptedException {
31
.childOption(ChannelOption.SO_KEEPALIVE, true)
32
.childOption(ChannelOption.ALLOCATOR, PooledByteBufAllocator.DEFAULT);
33
34
+ //拉起服务,创建Nio管道
35
b.group(bossGroup, workerGroup).channel(NioServerSocketChannel.class)
36
.handler(new LoggingHandler(LogLevel.INFO))
37
.childHandler(new HttpInitializer());
0 commit comments