Welcome to the "trac"-ing site of http-access2!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Ticket #220 (closed defect: fixed)

Opened 1 year ago

Last modified 10 months ago

Opened SSL files not being closed properly

Reported by: user Assigned to: nahi
Priority: normal Milestone: 2.1.6
Component: core Version: 2.0
Keywords: Cc:

Description

In ssl_config.rb, there are many calls (three, I think) that look like this:

File.open(crl).read

These need to be changed to:

File.open(crl) { |f| f.read }

In order for the file to be automatically closed. Without this, you can run into a "Too many files open" error if you're doing a lot of requests in one session.

Change History

06/09/09 09:56:26 changed by nahi

  • milestone changed from undefined to 2.1.6.

11/02/09 22:49:34 changed by nahi

  • status changed from new to closed.
  • resolution set to fixed.