projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
727a4b9
)
write_graphite: enable TCP keepalive on network socket
author
Marc Fournier
<marc.fournier@camptocamp.com>
Sat, 13 Feb 2016 11:29:13 +0000
(12:29 +0100)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Tue, 9 Aug 2016 09:06:54 +0000
(11:06 +0200)
src/write_graphite.c
patch
|
blob
|
history
diff --git
a/src/write_graphite.c
b/src/write_graphite.c
index
2dce2d7
..
77003f1
100644
(file)
--- a/
src/write_graphite.c
+++ b/
src/write_graphite.c
@@
-240,6
+240,8
@@
static int wg_callback_init (struct wg_callback *cb)
continue;
}
+ set_sock_opts (cb->sock_fd);
+
status = connect (cb->sock_fd, ai_ptr->ai_addr, ai_ptr->ai_addrlen);
if (status != 0)
{