From 8bea56c861c2cd32554047bcf9078b7f87242a19 Mon Sep 17 00:00:00 2001 From: Pedro Igor Date: Wed, 1 Dec 2021 09:56:35 -0300 Subject: [PATCH] End Vert.x response before propagating mapped exception in VertxBlockingoutput --- .../quarkus/resteasy/runtime/standalone/VertxBlockingOutput.java | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/resteasy-classic/resteasy/runtime/src/main/java/io/quarkus/resteasy/runtime/standalone/VertxBlockingOutput.java b/extensions/resteasy-classic/resteasy/runtime/src/main/java/io/quarkus/resteasy/runtime/standalone/VertxBlockingOutput.java index 4a84d8dd80c36..d974474bd265b 100644 --- a/extensions/resteasy-classic/resteasy/runtime/src/main/java/io/quarkus/resteasy/runtime/standalone/VertxBlockingOutput.java +++ b/extensions/resteasy-classic/resteasy/runtime/src/main/java/io/quarkus/resteasy/runtime/standalone/VertxBlockingOutput.java @@ -79,6 +79,7 @@ public void write(ByteBuf data, boolean last) throws IOException { if (data != null && data.refCnt() > 0) { data.release(); } + request.response().end(); throw new IOException(throwable); } try {