{"issue":{"created_at":"2011-11-20T06:44:08Z","state":"closed","updated_at":"2011-11-20T18:29:43Z","comments":1,"user":{"gravatar_id":"4a226d26dbb534b5f185e058ca141a64","id":898442,"url":"https://api.github.com/users/hirochachacha","login":"hirochachacha","avatar_url":"https://secure.gravatar.com/avatar/4a226d26dbb534b5f185e058ca141a64?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"http://www.ruby-lang.org/ja/old-man/html/Zlib_GzipWriter.html\r\n\r\nGzipWriter オブジェクトをcloseしてフッターを書き出す前に転送を始めているので、\r\ns3でのファイルサイズが0になってしまう問題の修正です。","assignee":null,"id":2291467,"labels":[],"pull_request":{"patch_url":"https://github.com/fluent/fluent-plugin-s3/pull/3.patch","html_url":"https://github.com/fluent/fluent-plugin-s3/pull/3","diff_url":"https://github.com/fluent/fluent-plugin-s3/pull/3.diff"},"number":3,"title":"gzip closing before forwarding","html_url":"https://github.com/fluent/fluent-plugin-s3/issues/3","closed_at":"2011-11-20T18:29:43Z","milestone":null,"url":"https://api.github.com/repos/fluent/fluent-plugin-s3/issues/3"},"action":"created","comment":{"created_at":"2011-11-20T18:29:43Z","updated_at":"2011-11-20T18:29:43Z","user":{"gravatar_id":"75fdb396a77ee857a715857524f9d254","id":40720,"url":"https://api.github.com/users/frsyuki","login":"frsyuki","avatar_url":"https://secure.gravatar.com/avatar/75fdb396a77ee857a715857524f9d254?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"ありがとうございます！\r\nGzipWriter#finishでフッターは書き出されているはずなので、むしろTempfile#close（または#flush）が呼ばれていない問題ですね。\r\nv0.2.1で修正しました！","id":2806561,"url":"https://api.github.com/repos/fluent/fluent-plugin-s3/issues/comments/2806561"}}