snickl/collectd — Issue #3: modbus-connect-handling
Author: snickl
Created: 2012-01-28 18:29:03+00:00
State: open

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.