Commit Graph

4 Commits

Author SHA1 Message Date
J-N-K
09b0e3fb1b
[snmp] nullness improvements (#9038)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-15 17:24:02 -08:00
Hilbrand Bouwkamp
c7b86c09d9
[snmp] Set thing only online on valid response (#8759)
* [snmp] Set thing only online on valid response

Otherwise it will toggles between online and offline when the call always times-out, which can happen when the device is unreachable (or a wrong ip address configured).

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2020-10-25 16:21:37 +01:00
fab-kis
54791d97d0
[snmp] Fix memory leak in SNMP (#8672)
* Fix memory leak in SNMP. When receiving an async request it is placed in a pending request queue. Not canceling it leads to infinty life cycle for those requests, filling up memory.
* Test the canceling of the snmp aync request by its handler.

Signed-off-by: Falk Bauer <falk.bauer@k-is.com>
2020-10-10 19:11:24 +02:00
Kai Kreuzer
6df6783b60 added migrated 2.x add-ons
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-09-21 03:37:19 +02:00