This change is essential for not flooding VOC servers with requests on
each channel update. Cache idea and timeout configuration copied from 3.x
branch ('main', PR#8595) and adapted to 2.5.x codebase.
Related to #8554
Also-by: clinique <gael@lhopital.org>
Signed-off-by: Mateusz Bronk <bronkm+gh@gmail.com>
User-Agent HTTP header is no longer sent in the requests
- as Jetty/9.4.20.v20190813 is blacklisted server-side.
The backported fix uses a shim wrapper for HttpUtil, allowing to inject
a customized Jetty's HttpClient, while keeping the rest of the interface
intact (goal was to minimize changes: 3.x branch has a more elegant fix
for the same, but coupled with other changes and refactorings that are
not part of this backport).
Resolves#8554
Signed-off-by: Mateusz Bronk <bronkm+gh@gmail.com>
Fixed 3 bugs:
- Network bridge not listening on bus
- Reconnection handler keeps reconnecting even after a successful reconnection
- Minor typo in alarm wakeup time channels
Signed-off-by: Cedric Boon <cedric.boon@hotmail.com>
In case of the parameters & response are not equal avoid the
java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>