Bug #286
closedopen-uri leaking file handles
Description
=begin
With some requests (particularly status 404 from Amazon.com), the reference to the temp file used to buffer the response is lost and left open, causing failure in long running processes. Temp file remains after process is killed.
attached script contains example repro.
=end
Files
Updated by nobu (Nobuyoshi Nakada) over 16 years ago
=begin
Hi,
At Fri, 18 Jul 2008 09:21:46 +0900,
Anonymous wrote in [ruby-core:17824]:
Target version:
Which version?
With some requests (particularly status 404 from Amazon.com),
the reference to the temp file used to buffer the response is
lost and left open, causing failure in long running
processes. Temp file remains after process is killed.attached script contains example repro.
I couldn't reproduce it with your script and latest 1.8.
--
Nobu Nakada
=end
Updated by Anonymous over 16 years ago
=begin
Produced in 1.8.2 and 1.8.6p36.
=end
Updated by Anonymous over 16 years ago
=begin
adding -v 1.8.2 on MacOS 10.4, and -v 1.8.6p36 on Fedora 8.
=end
Updated by curi (Elliot Temple) about 16 years ago
=begin
I can duplicate the bug on OS X 10.5
ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]
=end
Updated by nobu (Nobuyoshi Nakada) over 15 years ago
- ruby -v set to ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]
=begin
Those files get removed at process termination, so it doesn't "leak" truely.
=end
Updated by akr (Akira Tanaka) about 15 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r24902.
=end