From bfb67670794fd3a9c83c25f300488b8f0646e3ac Mon Sep 17 00:00:00 2001 From: Matthias Kurz Date: Thu, 7 Mar 2024 23:57:12 +0100 Subject: [PATCH] Use latest netty-reactive-streams version, ahc comes with outdated one (cherry picked from commit d5da1fbb8b0ad2db3521fa77c9ac9bb5b45f9f48) --- project/Dependencies.scala | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 34b8dabd..ecd67ce0 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -40,7 +40,11 @@ object Dependencies { val cachecontrol = Seq("org.playframework" %% "cachecontrol" % "3.0.1") - val asyncHttpClient = Seq("org.asynchttpclient" % "async-http-client" % "2.12.3") + val asyncHttpClient = Seq( + ("org.asynchttpclient" % "async-http-client" % "2.12.3") // 2.12.x comes with outdated netty-reactive-streams, so we ... + .exclude("com.typesafe.netty", "netty-reactive-streams"), // ... exclude it and pull in ... + "com.typesafe.netty" % "netty-reactive-streams" % "2.0.13", // ... a newer version ourselves (ahc v3 will drop that dependency) + ) val pekkoVersion = "1.0.3"