From b980dc9b9c88aa2dc996fb333db89239fa529299 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rg=20Prante?= Date: Mon, 23 Dec 2019 12:13:11 +0100 Subject: [PATCH] add linux x86_64, OS X classified artifacts for epoll, kqueue --- gradle.properties | 2 +- netty-http-epoll/build.gradle | 2 +- netty-http-kqueue/build.gradle | 2 +- .../src/main/java/org/xbib/netty/http/server/Server.java | 3 +++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 947b941..9c97ef8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ group = org.xbib name = netty-http -version = 4.1.44.0 +version = 4.1.44.1 # netty netty.version = 4.1.44.Final diff --git a/netty-http-epoll/build.gradle b/netty-http-epoll/build.gradle index 0bd2900..5a7aaf1 100644 --- a/netty-http-epoll/build.gradle +++ b/netty-http-epoll/build.gradle @@ -1,4 +1,4 @@ dependencies { compile project(":netty-http-common") - compile "io.netty:netty-transport-native-epoll:${project.property('netty.version')}" + compile "io.netty:netty-transport-native-epoll:${project.property('netty.version')}:linux-x86_64" } diff --git a/netty-http-kqueue/build.gradle b/netty-http-kqueue/build.gradle index 3780875..aa95862 100644 --- a/netty-http-kqueue/build.gradle +++ b/netty-http-kqueue/build.gradle @@ -1,4 +1,4 @@ dependencies { compile project(":netty-http-common") - compile "io.netty:netty-transport-native-kqueue:${project.property('netty.version')}" + compile "io.netty:netty-transport-native-kqueue:${project.property('netty.version')}:osx-x86_64" } diff --git a/netty-http-server/src/main/java/org/xbib/netty/http/server/Server.java b/netty-http-server/src/main/java/org/xbib/netty/http/server/Server.java index 5cb31cb..756daa4 100644 --- a/netty-http-server/src/main/java/org/xbib/netty/http/server/Server.java +++ b/netty-http-server/src/main/java/org/xbib/netty/http/server/Server.java @@ -336,6 +336,7 @@ public final class Server implements AutoCloseable { if (eventLoopGroup == null) { eventLoopGroup = new NioEventLoopGroup(serverConfig.getParentThreadCount(), new HttpServerParentThreadFactory()); } + logger.log(Level.INFO, "parent event loop group = " + eventLoopGroup); return eventLoopGroup; } @@ -353,6 +354,7 @@ public final class Server implements AutoCloseable { if (eventLoopGroup == null) { eventLoopGroup = new NioEventLoopGroup(serverConfig.getChildThreadCount(), new HttpServerChildThreadFactory()); } + logger.log(Level.INFO, "child event loop group = " + eventLoopGroup); return eventLoopGroup; } @@ -370,6 +372,7 @@ public final class Server implements AutoCloseable { if (channelClass == null) { channelClass = NioServerSocketChannel.class; } + logger.log(Level.INFO, "server socket channel class = " + channelClass); return channelClass; }