diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2018-07-04 12:45:35 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-04 12:45:35 +1200 |
commit | 93e185e1d41bc658328c69d637616ab355da513e (patch) | |
tree | f9dc7cdfc72952949f251dc640a5ff42a9768816 /railties/lib/rails | |
parent | 90e2739d8680878b40224d68b366917b9c582ba5 (diff) | |
download | rails-93e185e1d41bc658328c69d637616ab355da513e.tar.gz rails-93e185e1d41bc658328c69d637616ab355da513e.tar.bz2 rails-93e185e1d41bc658328c69d637616ab355da513e.zip |
Better compatibility with SPEC.
If `env` is duped or otherwise not the same as the original `env` that was
generated at the top of rack middleware, it is impossible for the server hijack
proc to update the right `env` instance. Therefore, capturing the return value
is more reliable. This is the recommendation of the rack SPEC.
Diffstat (limited to 'railties/lib/rails')
0 files changed, 0 insertions, 0 deletions