Jordan Pittier f8b1e84d2f Do not raise and crash worker on ENOTCONN error
A couple of socket operations can fail with ENOTCONN error if the
other side of the connection is not connected anymore. In that case,
let's not crash the whole worker and give a chance to accept new
connections.

In my case, the operation that sometimes fails is a "getpeername()",
which was introduced in b07532be752668be5eb5dbd0a8303abf5c219c99
(v19.8.0). Someone in https://github.com/benoitc/gunicorn/issues/1913
metionned that v19.7.1 was working fine so it matches.

Fixes #1913
2020-02-25 11:46:56 +01:00
..
2019-11-28 19:30:38 +09:00
2020-01-10 13:50:53 +01:00
2019-11-28 19:30:38 +09:00
2020-01-10 13:58:29 +01:00
2019-11-28 19:30:38 +09:00
2019-11-28 19:30:38 +09:00
2019-11-26 20:27:21 +01:00