diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-08-17 01:09:46 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-08-17 01:09:46 +0000 |
commit | 24b9f66dcdda44378b4053645333ce9ce336b413 (patch) | |
tree | 735325b7b820e9476296016cd8ec3bdfc20db301 /test | |
parent | 2f5174d4ca9764313d6be4c092e9e6c2e4f9d1e1 (diff) | |
download | unicorn-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')
0 files changed, 0 insertions, 0 deletions