We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab134e9 commit ed148fcCopy full SHA for ed148fc
src/main/java/io/vertx/httpproxy/impl/ProxiedResponse.java
@@ -229,7 +229,7 @@ public void send(Handler<AsyncResult<Void>> completionHandler) {
229
// Special handling for HTTP 1.0 clients that cannot handle chunked encoding
230
// we need to buffer the content
231
BufferingWriteStream buffer = new BufferingWriteStream();
232
- body.stream().pipeTo(buffer, ar -> {
+ body.stream().pipeTo(buffer).onComplete(ar -> {
233
if (ar.succeeded()) {
234
Buffer content = buffer.content();
235
proxiedResponse.end(content).onComplete(completionHandler);
0 commit comments