From 9fb8da8a55f6b63912b7109ef0f285759e1cb2ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Prante?= Date: Thu, 9 Mar 2023 11:02:30 +0100 Subject: [PATCH] update to netty 4.1.89, provide a default socket config in HttpAddress --- gradle.properties | 2 +- net-http/src/main/java/org/xbib/net/http/HttpAddress.java | 1 + settings.gradle | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index ec0a45c..9fb44dc 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ group = org.xbib name = net-http -version = 3.0.4 +version = 3.0.5 org.gradle.warning.mode = ALL diff --git a/net-http/src/main/java/org/xbib/net/http/HttpAddress.java b/net-http/src/main/java/org/xbib/net/http/HttpAddress.java index e9fb5f1..9219fec 100644 --- a/net-http/src/main/java/org/xbib/net/http/HttpAddress.java +++ b/net-http/src/main/java/org/xbib/net/http/HttpAddress.java @@ -188,6 +188,7 @@ public class HttpAddress implements Address { this.port = -1; this.isSecure = false; this.version = HttpVersion.HTTP_1_1; + this.socketConfig = new SocketConfig(); } public Builder setHost(String host) { diff --git a/settings.gradle b/settings.gradle index 48a67d7..06df63a 100644 --- a/settings.gradle +++ b/settings.gradle @@ -4,9 +4,9 @@ dependencyResolutionManagement { version('gradle', '7.5.1') version('junit', '5.9.2') version('groovy', '4.0.7') - version('netty', '4.1.87.Final') - version('netty-tcnative', '2.0.56.Final') - version('datastructures', '1.0.1') + version('netty', '4.1.89.Final') + version('netty-tcnative', '2.0.59.Final') + version('datastructures', '2.0.0') version('config', '5.0.2') version('net', '3.0.3') library('junit-jupiter-api', 'org.junit.jupiter', 'junit-jupiter-api').versionRef('junit')