Skip to content

Commit 0837453

Browse files
committed
1 parent 592ff0b commit 0837453

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/m2r/rack_handler.rb

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def process(request)
3737
status, headers, body = @app.call(env)
3838
buffer = ""
3939
body.each { |part| buffer << part }
40+
body.close if body.respond_to?(:close)
4041
return Response.new(status, headers, buffer)
4142
end
4243

0 commit comments

Comments
 (0)