Changeset [c23f0ace66279a30d7d8d8d727d9311cb34dc89a] by Leo Correa
Revision c23f0ace66279a30d7d8d8d727d9311cb34dc89a,
committed by Leo Correa
· March 26th, 2014 @ 07:31 PM
Tempfiles created by a large request should be closed and
deleted.
When a request with a large body was closed it would unlink the
Tempfile created but it would not close it leaving opened file
descriptors. Calling close on the tempfile ensures that the file
descriptor is released.
https://github.com/macournoyer/thin/commit/c23f0ace66279a30d7d8d8d7...
2 changed files
-
M
lib/thin/request.rb -
M
spec/request/processing_spec.rb