about summary refs log tree commit homepage
path: root/lib/rainbows/const.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-11-13 18:42:58 -0800
committerEric Wong <normalperson@yhbt.net>2009-11-13 18:42:58 -0800
commit5f329e4d46422fc3cd8f1f2477b953e2e9ed8289 (patch)
tree708e369db394b2a82b76a404461c70b956ce384e /lib/rainbows/const.rb
parent0a0754fc3918b65d0888e3832071086b02e05e97 (diff)
downloadrainbows-5f329e4d46422fc3cd8f1f2477b953e2e9ed8289.tar.gz
Based on unicorn.git commit e4256da292f9626d7dfca60e08f65651a0a9139a

    raise Unicorn::ClientShutdown if client aborts in TeeInput

    Leaving the EOFError exception as-is bad because most
    applications/frameworks run an application-wide exception
    handler to pretty-print and/or log the exception with a huge
    backtrace.

    Since there's absolutely nothing we can do in the server-side
    app to deal with clients prematurely shutting down, having a
    backtrace does not make sense.  Having a backtrace can even be
    harmful since it creates unnecessary noise for application
    engineers monitoring or tracking down real bugs.
Diffstat (limited to 'lib/rainbows/const.rb')
0 files changed, 0 insertions, 0 deletions