Bugs: Browse | Submit New | Admin

[#26935] rack.run_once not getting set

Date:
2009-08-18 01:37
Priority:
3
Submitted By:
John Lloyd-Jones (johnlloydjones)
Assigned To:
Vivek Pandey (vivekp)
Category:
gem
State:
Closed
Target Release:
 
Summary:
rack.run_once not getting set

Detailed description
The environment variable rack.run_once does not get set properly.

Scenario: 
Run a rack application from a config.ru file. The env variable does not contain an entry for rack.run_once.

Root cause
In the constructor of com.sun.grizzly.jruby.rack.DefaultRackApplication, the variable RubyString rack_run_once is initialized
to: runtime.newString("*rack.multiprocess*"). The value should be initialized to "rack.run_once" .

Add A Comment: Notepad

Please login


Followup

Message
Date: 2009-08-19 17:51
Sender: Vivek Pandey

Fixed.It will be available in the next gem release.
Date: 2009-08-19 17:50
Sender: Vivek Pandey

Fixed.It will be available in the next gem release.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
close_date2009-08-19 17:512009-08-19 17:51vivekp
status_idOpen2009-08-19 17:50vivekp
resolution_idNone2009-08-19 17:50vivekp
close_date2009-08-19 17:502009-08-19 17:50vivekp