summary refs log tree commit
path: root/lib/rack/deflater.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rack/deflater.rb')
-rw-r--r--lib/rack/deflater.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/deflater.rb b/lib/rack/deflater.rb
index 3f6177e6..cc01c32a 100644
--- a/lib/rack/deflater.rb
+++ b/lib/rack/deflater.rb
@@ -116,7 +116,7 @@ module Rack
           }
         end
       ensure
-        gzip.close
+        gzip.finish
       end
 
       # Call the block passed to #each with the gzipped data.