about summary refs log tree commit homepage
path: root/test/unit/test_util.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-08-17 01:09:46 +0000
committerEric Wong <normalperson@yhbt.net>2013-08-17 01:09:46 +0000
commit24b9f66dcdda44378b4053645333ce9ce336b413 (patch)
tree735325b7b820e9476296016cd8ec3bdfc20db301 /test/unit/test_util.rb
parent2f5174d4ca9764313d6be4c092e9e6c2e4f9d1e1 (diff)
downloadunicorn-24b9f66dcdda44378b4053645333ce9ce336b413.tar.gz
We do not attempt to write HTTP responses for socket errors if
clients disconnect from us unexpectedly.

Additionally, we do not hide backtraces EINVAL/EBADF errors, since
they are indicative of real bugs which must be fixed.

We do continue to hide hide EOF, ECONNRESET, ENOTCONN, and EPIPE
because clients (even "friendly") ones will break connections due to
client crashes or network failure (which is common for me :P), and
the backtraces from those will cause excessive logging and even
become a DoS vector.
Diffstat (limited to 'test/unit/test_util.rb')
0 files changed, 0 insertions, 0 deletions