John
26102d0de3
simplify some dir/file defines
2023-09-24 08:43:22 +02:00
John
d89b7cf29a
fix macos build ( closes #673 )
2023-09-23 14:23:06 +02:00
John
0698906cd1
allow limiting number of scan retries (fixes 1013)
2023-09-23 14:09:27 +02:00
John
1c1b39ea29
send empty topic instead of logging an error on messages without a single field ( fixes #817 )
2023-09-23 12:34:21 +02:00
John
70db4fa509
log invalid env setting more readable
2023-09-23 09:28:35 +02:00
John
b0cfb52e3b
bring back missing scanconfig default, better help texts, add "off" to scanconfig, better argument combination validation
2023-09-23 09:27:55 +02:00
John
9bd534afa4
allow notifying queue and improve shutdown duration
2023-09-23 09:09:05 +02:00
john30
689c38610b
better defines for debugging
2023-09-17 15:50:11 +02:00
John and GitHub
ebd68a48da
Merge pull request #961 from samm-git/patch-1
...
remove unused using
2023-08-15 17:17:52 +02:00
John
e3abbf1b09
set no signal asap when device is detected as invalid (for #965 )
2023-08-06 08:59:38 +02:00
John
949b366fe6
deny mqtttopic starting with '/' ( fixes #960 )
2023-08-06 08:26:25 +02:00
Alex Samorukov and GitHub
329c175b0c
message.h: remove std:binary_function
...
This PR removes 'binary_function' reference to fix error on freebsd/current
```
no member named 'binary_function' in namespace 'std';
```
binary_function is deprecated in C++11 and removed in C++17. Good thing that ebusd is not using it anyway, so IMHO it is safe to remove.
2023-07-19 19:48:23 +02:00
John
739324fb8e
missed update in c1624f5
2023-07-08 12:00:31 +02:00
John
43d3599c73
fix for topic separator check ( closes #943 )
2023-07-08 11:47:04 +02:00
John
c1624f528f
extract request related parts
2023-07-08 11:08:29 +02:00
John
e295cc3434
typedef for options
2023-07-08 09:25:49 +02:00
John
cd097b1d2b
higher config web service timeout, formatting
2023-06-17 10:25:12 +02:00
John
ea87515ef5
repeat HTTP requests once
2023-06-17 10:24:08 +02:00
John
333ae3b82f
apply same workaround to all BIO_should_retry() calls and log timeout in send+recv as well
2023-06-17 10:08:34 +02:00
John
8f190e9e84
add scan status
2023-06-17 08:18:34 +02:00
John
2c7cab3dc1
update year
2023-06-16 20:40:35 +02:00
John
0ede430ece
extra layer for device, more abstraction
2023-06-16 20:26:30 +02:00
John
9d08eec68e
better iterator
2023-06-16 19:45:29 +02:00
John
9c74288ba9
delay check only if scan succeeded
2023-06-16 19:23:32 +02:00
John
eb2af024a2
fix previous commit
2023-06-16 18:01:41 +02:00
John
c66bd85e03
fix invalid iterator usage (maybe related to #925 )
2023-06-11 12:04:48 +02:00
John
dd7c668af4
add updatecheck for v5
2023-06-11 10:46:07 +02:00
John
746b79d17e
fix previous commit
2023-06-04 08:11:51 +02:00
John
1222eb165e
copy cmd/resp in messageCompleted() for potential edge cases
2023-06-03 19:55:58 +02:00
John
d89a5289cf
fix potential (but unlikely) endless loop
2023-06-03 19:53:05 +02:00
John
7134c82848
prefer const iterator
2023-06-03 19:52:19 +02:00
John
699f056381
add value list support
2023-06-03 10:45:08 +02:00
John
5825975d48
make capath+cafile static as they are
2023-05-31 18:50:04 +02:00
John
17d92bca76
force logging upon exit, set level+facilities asap, log valid configpath URL
2023-05-31 18:30:28 +02:00
John
30cf1a926f
force use of IPv4 in libssl (see #751 )
2023-05-31 18:15:47 +02:00
John
e2a4695c9b
add bio logging and print set_nbio success, clear auto-retry (for #751 )
2023-05-31 08:18:40 +02:00
John
3669385386
add ssl debugging, assume ssl_ctx is global as documented (for #751 )
2023-05-30 15:55:48 +02:00
John
207435650d
workaround for potentially faced libssl bug 11574
2023-05-30 11:00:08 +02:00
John
172f856967
limit number of handled telegrams per loop and wait time for #843
2023-05-30 10:22:27 +02:00
John
4152ea6a84
code style
2023-05-30 09:24:02 +02:00
John
56aaba03ad
detecte injected scan messages and issue scan procedure for those
2023-05-30 09:23:41 +02:00
John
25a00f5d96
fix for commit e419c950
2023-05-30 08:32:24 +02:00
John
a6bd51102f
Merge branch 'master' of github.com:john30/ebusd
2023-05-29 17:32:04 +02:00
John
4c09854546
explicitly check against null, better x509 free, log timeout on connect and increase default to 5 secs, support wildcard subject
2023-05-29 17:26:58 +02:00
John
773a4dd661
improve compilability
2023-05-18 13:24:03 +02:00
John
e606772e9d
code style
2023-05-18 13:00:12 +02:00
John
e419c950d8
separate resolving+scanning to own interface+class and avoid use of extern
2023-05-18 12:24:50 +02:00
John
ec6dae6abb
allow late init of ssl
2023-05-18 12:04:42 +02:00
John
4886b016f3
log if a tcp server could not be started
2023-05-18 12:03:09 +02:00
John
1895339e45
add timeout for info request and allow more being optional, support shorter config response, comments
2023-05-01 19:32:14 +02:00