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
John
9c0af7b95e
fix for variable datatype length bounds check ( fixes #805 )
2023-01-30 22:55:46 +01:00
John
9218a1d8e8
better wording
2023-01-30 22:32:32 +01:00
John
3b6d5402c9
note high-speed mode in help and logging ( fixes #804 )
2023-01-30 22:30:56 +01:00
John
d35d0bb71d
don't set min/max/step values for EXP based types (workaround for #803 )
2023-01-30 22:07:14 +01:00
John
fd47929f8e
add getStep() method
2023-01-30 22:06:06 +01:00
John
b42b798e54
formatting
2023-01-06 12:31:29 +01:00
John
672dae22e7
fix previous commit
2023-01-06 12:14:44 +01:00
John
8e612b9e0e
add option to exit non-zero on non-success response from ebusd ( fixes #782 )
2023-01-06 12:08:17 +01:00
John
8af687aa66
retry config check once
2023-01-06 11:49:27 +01:00
John
780703c6ff
avoid unnecessary waits when there is no signal
2023-01-06 11:39:13 +01:00