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: google-cloud-contrib/google-cloud-nio/src/main/java/com/google/cloud/storage/contrib/nio/CloudStorageReadChannel.java
+15-5Lines changed: 15 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -109,19 +109,24 @@ public int read(ByteBuffer dst) throws IOException {
109
109
amt = channel.read(dst);
110
110
break;
111
111
} catch (StorageExceptionexs) {
112
-
if (exs.getMessage().contains("Connection closed prematurely") && reopens < maxChannelReopens) {
113
-
// this error isn't marked as retryable since the channel is closed;
0 commit comments