From 1f40169722d2a41294b6e44a38671265122e6a84 Mon Sep 17 00:00:00 2001 From: HenrikJannsen Date: Mon, 12 Dec 2022 20:23:32 -0500 Subject: [PATCH] The connection:keep-alive header is restricted in java and would require a jvm option to allow it. Signed-off-by: HenrikJannsen --- .../java/bisq/seednode/reporting/SeedNodeReportingService.java | 1 - 1 file changed, 1 deletion(-) diff --git a/seednode/src/main/java/bisq/seednode/reporting/SeedNodeReportingService.java b/seednode/src/main/java/bisq/seednode/reporting/SeedNodeReportingService.java index 59a8135bb88..415ad6a3db8 100644 --- a/seednode/src/main/java/bisq/seednode/reporting/SeedNodeReportingService.java +++ b/seednode/src/main/java/bisq/seednode/reporting/SeedNodeReportingService.java @@ -249,7 +249,6 @@ private void sendReportingItems(ReportingItems reportingItems) { .uri(URI.create(seedNodeReportingServerUrl)) .POST(HttpRequest.BodyPublishers.ofByteArray(protoMessageAsBytes)) .header("User-Agent", getMyAddress()) - .header("Connection", "keep-alive") .build(); httpClient.sendAsync(request, HttpResponse.BodyHandlers.ofString()).whenComplete((response, throwable) -> { if (throwable != null) {