You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: independent-projects/resteasy-reactive/client/runtime/src/main/java/org/jboss/resteasy/reactive/client/handlers/VertxClientInputStream.java
+6-9Lines changed: 6 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -93,16 +93,9 @@ public void close() throws IOException {
93
93
}
94
94
closed = true;
95
95
try {
96
-
while (!finished) {
97
-
readIntoBuffer();
98
-
if (pooled != null) {
99
-
pooled.release();
100
-
pooled = null;
101
-
}
96
+
if (!finished) {
97
+
exchange.discard();
102
98
}
103
-
} catch (IOException | RuntimeExceptione) {
104
-
//our exchange is all broken, just end it
105
-
throwe;
106
99
} finally {
107
100
if (pooled != null) {
108
101
pooled.release();
@@ -246,6 +239,10 @@ public int readBytesAvailable() {
0 commit comments