]> git.itanic.dy.fi Git - rrdd/commit
onewire_parser: Keep server handle open at all time
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Mon, 11 Jul 2016 11:56:48 +0000 (14:56 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Mon, 11 Jul 2016 11:56:48 +0000 (14:56 +0300)
commitcaedc46c0bfa22e0f8bdfd31132083383ca43994
tree5a8f7209d1e7bfb288935835cb26544a149c7bbf
parent59f705106700e04db22e8a8253f723c2437774c5
onewire_parser: Keep server handle open at all time

On libowfs 2.7 there appear to be a problem when releasing the client
resources. At least sockets are left open every now and then. There is
no such problem with 3.1 version.

To resolve the issue with older client library, keep the serve handle
open at all time. Release it only when there is a change with the
server address, which normally does not happen ever.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
onewire_parser.c