From fe1f9554fd2c49462acaf4a78e2d809a6bc22a82 Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 16 May 2023 07:57:09 +0200 Subject: [PATCH] Use default value from `quarkus.http.read-timeout` in RESTEasy Reactive Relates https://github.com/quarkusio/quarkus/issues/32992 --- .../server/vertx/VertxResteasyReactiveRequestContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/independent-projects/resteasy-reactive/server/vertx/src/main/java/org/jboss/resteasy/reactive/server/vertx/VertxResteasyReactiveRequestContext.java b/independent-projects/resteasy-reactive/server/vertx/src/main/java/org/jboss/resteasy/reactive/server/vertx/VertxResteasyReactiveRequestContext.java index a4f8ec0951bf4..f80c42d785e79 100644 --- a/independent-projects/resteasy-reactive/server/vertx/src/main/java/org/jboss/resteasy/reactive/server/vertx/VertxResteasyReactiveRequestContext.java +++ b/independent-projects/resteasy-reactive/server/vertx/src/main/java/org/jboss/resteasy/reactive/server/vertx/VertxResteasyReactiveRequestContext.java @@ -240,7 +240,7 @@ public InputStream createInputStream() { context.getBody().getBytes(data); return new ByteArrayInputStream(data); } - return new VertxInputStream(context, 10000, this); + return new VertxInputStream(context, getDeployment().getRuntimeConfiguration().readTimeout().toMillis(), this); } @Override