danielcweeks commented on code in PR #15792:
URL: https://github.com/apache/iceberg/pull/15792#discussion_r3119972600
##########
aws/src/main/java/org/apache/iceberg/aws/s3/S3InputStream.java:
##########
@@ -55,12 +57,32 @@ class S3InputStream extends SeekableInputStream implements
RangeReadable {
private static final List<Class<? extends Throwable>> RETRYABLE_EXCEPTIONS =
ImmutableList.of(SSLException.class, SocketTimeoutException.class,
SocketException.class);
+ private boolean isPrematureConnectionCloseApacheHttpClient(Throwable ex) {
Review Comment:
This is a strange enough workaround that I think we should include some docs
on exactly what we're doing here. I can't imagine someone figuring this out
looking at the code in the future.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]