Cenon Del Rosario <[email protected]> wrote:
> > > > I suspect one of those lines could be the result of
> > > > Rack::CommonLogger from RACK_ENV=deployment or similar
> > > > (which matched "rackup" defaults back in 2009).
> > > >
>
> Yes I just tried this and it fixed the issue (I used -N but
> RACK_ENV=none also worked)
Cool, good to know.
> Just wondering what other things will be impacted by turning off rack
> middleware?
Rack::{ContentLength,Chunked,TempfileReaper} for prod:
https://yhbt.net/unicorn-public/d5991fea2df857480b728e27c927d69c3df2080f/s/?b=lib/unicorn.rb#n67
You can set them up yourself in config.ru, but maybe Rails
also does that for you. I haven't used Rails in many years,
but I seem to recall Rails had its own middleware stack somewhere,
too, but you'll have to refer to Rails docs for that.
--
unsubscribe: one-click, see List-Unsubscribe header
archive: https://yhbt.net/unicorn-public/