[collectd-changes] collectd, the system statistics collection daemon: Changes to 'collectd-5.2'
Florian Forster
octo at verplant.org
Sat May 25 11:24:36 CEST 2013
src/modbus.c | 109 +++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 59 deletions(-)
New commits:
commit 21d12548861a8a4f641a5291f6f47421737d6124
Author: Florian Forster <octo at collectd.org>
Date: Sat May 25 11:15:29 2013 +0200
modbus plugin: Refactor the new reconnection code.
Avoid the goto() and switch() statements.
Github: #294
commit 06e9e7692aa0d1df7744cca4e70ea404eb25b093
Author: Fabien Wernli <cpan at faxm0dem.org>
Date: Tue May 15 13:59:10 2012 +0200
Cleanup modbus connection if wrong result
Change-Id: I1b7520442d7663d5bc2529369e27e3e858fe2168
Signed-off-by: Florian Forster <octo at collectd.org>
commit a0d1ec3873bc43497d9c162fae6eb09d6ea4200a
Author: Stefan Nickl <Stefan.Nickl at gmail.com>
Date: Sat Jan 28 19:21:10 2012 +0100
Fix modbus segfault / New strategy for connecting
The previous implementation had a reconnection loop which should not
really be necessary. Idea tried here is to check if connection is alive,
and establish it if not. Change was begun because previously connection
would only be attempted as a retry, so on first pass a NULL was handed to
libmodbus which caused segmentation faults reproducibly.
Signed-off-by: Florian Forster <octo at collectd.org>
More information about the collectd-changes
mailing list