0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-18 03:23:51 +00:00
netdata_netdata/collectors/python.d.plugin/python_modules
Austin S. Hemmelgarn 63114bcedd Handle disconnected sockets in unbound collector. ()
* Handle disconnected sockets in unbound collector.

This adds an explicit check for the case of a socket that's already
disconnected and skips logging an error message.  The conditionn
technically is an error, but it's one that we can recover from trivially
by just doing nothing in this case (we were trying to disconnect the
scoket anyway, so if it's already disconnected, we don't need to change
anything).

This uses Python's `errno` module so that we can detect this situation
in a system-agnostic manner.

Fixes 
2019-07-30 23:21:39 +03:00
..
bases Handle disconnected sockets in unbound collector. () 2019-07-30 23:21:39 +03:00
pyyaml2 modularized all source code () 2018-10-15 23:16:42 +03:00
pyyaml3 modularized all source code () 2018-10-15 23:16:42 +03:00
third_party Fix typo and py2 compatibility issue. () 2018-11-21 07:58:00 +02:00
urllib3 modularized all source code () 2018-10-15 23:16:42 +03:00
__init__.py modularized all source code () 2018-10-15 23:16:42 +03:00