Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "bugfix",
"category": "Netty NIO HTTP Client",
"contributor": "",
"description": "Fix `NettyNioAsyncHttpClient` errors when making requests in GraalVM native images, which can lead to timeout exceptions."
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@
# express or implied. See the License for the specific language governing
# permissions and limitations under the License.
#
# Needed because native-maven-plugin's metadata repository excludes netty's own
# '--initialize-at-build-time=io.netty', leaving jctools queues to fail at run time.
Args=--allow-incomplete-classpath \
--initialize-at-run-time=io.netty.internal.tcnative.SSL,\
io.netty.internal.tcnative.CertificateVerifier,\
io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod,\
io.netty.internal.tcnative.SSLPrivateKeyMethod,\
io.netty.handler.ssl.OpenSslPrivateKeyMethod,\
io.netty.handler.ssl.ReferenceCountedOpenSslEngine,\
io.netty.handler.ssl.OpenSslAsyncPrivateKeyMethod
io.netty.handler.ssl.OpenSslAsyncPrivateKeyMethod \
--initialize-at-build-time=io.netty.util.internal.shaded.org.jctools
Loading