]> git.openstreetmap.org Git - rails.git/commit
Avoid trying to rewind the request body
authorTom Hughes <tom@compton.nu>
Fri, 11 Apr 2025 23:06:30 +0000 (00:06 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 15 Apr 2025 17:15:22 +0000 (18:15 +0100)
commit35022c47f97be69fd2dab75f7c3dfe1c8bd8af30
treef67271dd8c80c5895622fb9075ae821df55d97fe
parent5037ae2dde6ab2bcfa20835e9b20d2736a847893
Avoid trying to rewind the request body

Rack 3 no longer guarantees that the body is rewindable and
in any case according the Apache bug just closing the stream is
enough and avoid wasting time reading the body.
app/controllers/application_controller.rb