Changeset [c23f0ace66279a30d7d8d8d727d9311cb34dc89a] 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.

Committed by Leo Correa

  • M lib/thin/request.rb
  • M spec/request/processing_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป