Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tls_ctx memleak in s3 client creation
Reproduction scenario: ``` try(var tlsc = new TlsContext(); var c = new S3Client(new S3ClientOptions() .withRegion("eu-west-1") .withClientBootstrap(ClientBootstrap.getOrCreateStaticDefault()) .withTlsContext(tlsc) )) { } ``` --> this code will quickly go OOM without the fix in this commit
- Loading branch information