Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for discardEmptyContentAndClose (0.32 sec)

  1. platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3ResourceConnector.java

                    null); // Passing null for sha1 - TODO - consider using the etag which is an MD5 hash of the file (when less than 5Gb)
            } finally {
                discardEmptyContentAndClose(s3Object);
            }
        }
    
        private static void discardEmptyContentAndClose(S3Object s3Object) {
            // Consume the content stream to avoid warning from S3 SDK. The response should have only 1 byte there because Range header was specified.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top