Skip to content

Commit

Permalink
Update to HttpServerResponse close method removal
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Aug 10, 2023
1 parent 5eae719 commit 3b0f604
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ private void testBackendCloseResponse(TestContext ctx, boolean chunked) {
}
resp.write("part");
closeFuture.thenAccept(v -> {
resp.close();
req.connection().close();
});
});
startProxy(backend);
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/vertx/httpproxy/ProxyRequestTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ private void testCloseBackendResponse(TestContext ctx, boolean chunked) {
}
resp.write("part");
cont.thenAccept(v -> {
resp.close();
req.connection().close();
});
});
backendClient = vertx.createHttpClient(new HttpClientOptions(clientOptions));
Expand Down

0 comments on commit 3b0f604

Please sign in to comment.