Skip to content

Commit 3b0f604

Browse files
committed
Update to HttpServerResponse close method removal
1 parent 5eae719 commit 3b0f604

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/java/io/vertx/httpproxy/ProxyClientKeepAliveTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ private void testBackendCloseResponse(TestContext ctx, boolean chunked) {
238238
}
239239
resp.write("part");
240240
closeFuture.thenAccept(v -> {
241-
resp.close();
241+
req.connection().close();
242242
});
243243
});
244244
startProxy(backend);

src/test/java/io/vertx/httpproxy/ProxyRequestTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ private void testCloseBackendResponse(TestContext ctx, boolean chunked) {
175175
}
176176
resp.write("part");
177177
cont.thenAccept(v -> {
178-
resp.close();
178+
req.connection().close();
179179
});
180180
});
181181
backendClient = vertx.createHttpClient(new HttpClientOptions(clientOptions));

0 commit comments

Comments
 (0)