diff options
-rw-r--r-- | lib/rack/handler/lsws.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rack/handler/lsws.rb b/lib/rack/handler/lsws.rb index b4ddf4bb..e261003d 100644 --- a/lib/rack/handler/lsws.rb +++ b/lib/rack/handler/lsws.rb @@ -1,5 +1,6 @@ require 'lsapi' require 'rack/content_length' +require 'rack/rewindable_input' module Rack module Handler @@ -38,6 +39,8 @@ module Rack ensure body.close if body.respond_to? :close end + ensure + rack_input.close end def self.send_headers(status, headers) print "Status: #{status}\r\n" |