diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index 82ec499f11..6505a267e0 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -1,7 +1,7 @@ [package] org = "ballerina" name = "http" -version = "2.10.5" +version = "2.10.6" authors = ["Ballerina"] keywords = ["http", "network", "service", "listener", "client"] repository = "https://github.com/ballerina-platform/module-ballerina-http" @@ -16,8 +16,8 @@ graalvmCompatible = true [[platform.java17.dependency]] groupId = "io.ballerina.stdlib" artifactId = "http-native" -version = "2.10.5" -path = "../native/build/libs/http-native-2.10.5.jar" +version = "2.10.6" +path = "../native/build/libs/http-native-2.10.6-SNAPSHOT.jar" [[platform.java17.dependency]] groupId = "io.ballerina.stdlib" diff --git a/ballerina/CompilerPlugin.toml b/ballerina/CompilerPlugin.toml index 6229522ec1..1172e0bbc2 100644 --- a/ballerina/CompilerPlugin.toml +++ b/ballerina/CompilerPlugin.toml @@ -3,4 +3,4 @@ id = "http-compiler-plugin" class = "io.ballerina.stdlib.http.compiler.HttpCompilerPlugin" [[dependency]] -path = "../compiler-plugin/build/libs/http-compiler-plugin-2.10.5.jar" +path = "../compiler-plugin/build/libs/http-compiler-plugin-2.10.6-SNAPSHOT.jar" diff --git a/ballerina/Dependencies.toml b/ballerina/Dependencies.toml index afcb80ecc4..321c5e85c0 100644 --- a/ballerina/Dependencies.toml +++ b/ballerina/Dependencies.toml @@ -76,7 +76,7 @@ modules = [ [[package]] org = "ballerina" name = "http" -version = "2.10.5" +version = "2.10.6" dependencies = [ {org = "ballerina", name = "auth"}, {org = "ballerina", name = "cache"}, diff --git a/changelog.md b/changelog.md index 5254d809db..3570ec709d 100644 --- a/changelog.md +++ b/changelog.md @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Fixed - [Fix `IndexOutOfBoundsException` when decoding jwt header](https://github.com/ballerina-platform/ballerina-library/issues/5856) +- [Fix HTTP/2 upgrade client hanging when server closes the connection abruptly](https://github.com/ballerina-platform/ballerina-library/issues/5955) ## [2.10.4] - 2023-11-17 diff --git a/native/src/main/java/io/ballerina/stdlib/http/transport/contractimpl/sender/TargetHandler.java b/native/src/main/java/io/ballerina/stdlib/http/transport/contractimpl/sender/TargetHandler.java index a07bf957ba..505fb221a2 100644 --- a/native/src/main/java/io/ballerina/stdlib/http/transport/contractimpl/sender/TargetHandler.java +++ b/native/src/main/java/io/ballerina/stdlib/http/transport/contractimpl/sender/TargetHandler.java @@ -120,6 +120,7 @@ public void channelInactive(ChannelHandlerContext ctx) throws Exception { if (!idleTimeoutTriggered) { targetChannel.senderReqRespStateManager.handleAbruptChannelClosure(this, httpResponseFuture); } + releasePerRoutePoolLatchOnFailure(); connectionManager.invalidateTargetChannel(targetChannel); if (handlerExecutor != null) {