On Fri, Aug 12, 2011 at 9:51 PM, Eric Wong <[email protected]> wrote:
> Joe Van Dyk <[email protected]> wrote:
>> On Thu, Aug 11, 2011 at 10:42 PM, Eric Wong <[email protected]> wrote:
>> > Joe Van Dyk <[email protected]> wrote:
>> >> Has anyone seen anything like this before?  I can get it to happen all
>> >> the time if I issue a HEAD request, but it only happens very
>> >> intermittently on GET requests.
>> >>
>> >> I'm using Ruby 1.9.2p180.
>> >>
>> >> Any ideas on where to start debugging?
>> >
>> > What web framework and other middlewares are you running?  Are you using 
>> > Rack::Head to
>> > generate HEAD responses or something else?
>>
>> Does unicorn use Rack::Lint by default?  What about Rack::ShowBacktrace?
>
> Yes with RACK_ENV=development, it loads Rack::CommonLogger,
> Rack::ShowExceptions and Rack::Lint.  This stack should match what
> "rackup" loads in development.

Hm -- RACK_ENV is set to 'production'.  I don't see Rack::Lint or
Rack::ShowExceptions when I do 'rake middleware' on the servers that
exhibit the bug.

Joe
_______________________________________________
Unicorn mailing list - [email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

Reply via email to