diff options
author | Geoff Lee <geoff.lee@lendesk.com> | 2018-04-03 19:54:27 -0700 |
---|---|---|
committer | Geoff Lee <geoff.lee@lendesk.com> | 2018-04-03 19:54:27 -0700 |
commit | 0ac64470ea3dd39e7285ecb971b5995fb94eb2c2 (patch) | |
tree | 4a9beeef7cca628cd3847c86664c035a941d45b3 /railties/test/application | |
parent | a07d0680787ced3c04b362fa7a238c918211ac70 (diff) | |
download | rails-0ac64470ea3dd39e7285ecb971b5995fb94eb2c2.tar.gz rails-0ac64470ea3dd39e7285ecb971b5995fb94eb2c2.tar.bz2 rails-0ac64470ea3dd39e7285ecb971b5995fb94eb2c2.zip |
Stop mutating body response
If @app.call returns an object that is saved (for e.g., in a constant), the mutation results in a continuing cycle of wrapping the body in Rack::BodyProxy, eventually leading to SystemStackError
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
On branch fix-return-response-mutation-rack-logger - Tue 3 Apr 2018 19:54:28 PDT by Geoff Lee <geoff.lee@lendesk.com>
Diffstat (limited to 'railties/test/application')
0 files changed, 0 insertions, 0 deletions