From a5bdaadab55798d72c929f6a9c279feb4eff4954 Mon Sep 17 00:00:00 2001 From: James McMullan Date: Mon, 22 Jul 2024 09:14:12 -0400 Subject: [PATCH] HPCC4J-622 RowserviceInputStream read handle during close - Added code read the rowservice handle before closing sockets when hitting EOF Signed-off-by: James McMullan James.McMullan@lexisnexis.com --- .../java/org/hpccsystems/dfs/client/RowServiceInputStream.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dfsclient/src/main/java/org/hpccsystems/dfs/client/RowServiceInputStream.java b/dfsclient/src/main/java/org/hpccsystems/dfs/client/RowServiceInputStream.java index 372bdce1e..22ad2e0d2 100644 --- a/dfsclient/src/main/java/org/hpccsystems/dfs/client/RowServiceInputStream.java +++ b/dfsclient/src/main/java/org/hpccsystems/dfs/client/RowServiceInputStream.java @@ -825,6 +825,9 @@ private int startFetch() { try { + // Read handle before closing + this.dis.readInt(); + close(); } catch (IOException e)