logstash-plugins / logstash-output-s3

Apache License 2.0
58 stars 151 forks source link

Seems GzipUtil.compress output a broken gzip file sometimes #253

Closed optionals closed 1 year ago

optionals commented 1 year ago

https://github.com/logstash-plugins/logstash-output-s3/blob/f893dae88ee60c2edb67608ab6a0f42f34a17235/src/main/java/org/logstash/plugins/outputs/s3/GzipUtil.java#L85-L95

zipInputStream.close() should be called at the end of loop