diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-09-13 09:05:54 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-09-13 09:05:54 +0000 |
commit | 9900e305cf4109599775213d14edc842d5fad8b5 (patch) | |
tree | 490b94f8d18f44abcb02f09b2b5ed5a2b2cf4174 /exporting/send_data.c | |
parent | Releasing debian version 1.42.2-1. (diff) | |
download | netdata-9900e305cf4109599775213d14edc842d5fad8b5.tar.xz netdata-9900e305cf4109599775213d14edc842d5fad8b5.zip |
Merging upstream version 1.42.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'exporting/send_data.c')
-rw-r--r-- | exporting/send_data.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/exporting/send_data.c b/exporting/send_data.c index 3fec7320d..1b13f837f 100644 --- a/exporting/send_data.c +++ b/exporting/send_data.c @@ -103,6 +103,8 @@ void simple_connector_receive_response(int *sock, struct instance *instance) // failed to receive data if (errno != EAGAIN && errno != EWOULDBLOCK) { netdata_log_error("EXPORTING: cannot receive data from '%s'.", instance->config.destination); + close(*sock); + *sock = -1; } } |