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
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
43d3599c73
fix for topic separator check ( closes #943 )
2023-07-08 11:47:04 +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
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
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
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
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
4152ea6a84
code style
2023-05-30 09:24:02 +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
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
fd47929f8e
add getStep() method
2023-01-30 22:06:06 +01:00
John
b42b798e54
formatting
2023-01-06 12:31:29 +01:00
John
9f51946f6d
print setsockopt errors and add missing options, add TCP_USER_TIMEOUT if defined
2023-01-06 10:58:00 +01:00
John
88f54c0d7f
remove unused
2023-01-06 10:51:47 +01:00
John
be574f1f8c
pass env from main and check FreeBSD for endian include ( fix #650 )
2023-01-06 10:51:21 +01:00
John
eb007fe381
use preferred language for config file retrieval
2023-01-02 20:00:58 +01:00
John
5d3c6f097e
only send device update info when it is extractable
2022-12-18 09:45:56 +01:00
John
68540b1d6c
handle enhanced side data without bus signal as well
2022-12-17 18:57:13 +01:00
John
6a16cbf4fd
ignore invalid info response
2022-12-17 17:20:35 +01:00
John
f3d030c137
reveal enhanced device version in info cmd and add to update check, unify wait
2022-12-17 17:20:19 +01:00
John
cd6be6002d
tolerate side data to be retrieved until timeout
2022-12-17 16:48:07 +01:00
John
4bbcc7918f
enable retry mode for older ssl libs
2022-12-17 16:46:23 +01:00
John
8eca44bdee
fix for tcp opts applied to udp socket ( fixes #733 )
2022-12-17 16:45:59 +01:00
John
a7de3175d8
make syslog.h optional
2022-12-11 10:57:48 +01:00
John
bc3e6110c7
use real min/max value for exp and do not check input against it
2022-11-13 17:48:15 +01:00
John
046fbebc35
fix unnecessary arbitration start
2022-09-24 17:57:24 +02:00
John
6e4babd21d
docs
2022-09-24 17:30:19 +02:00
Steffen Pankratz
90ddbcdb54
Fix compilation on Arch Linux.
...
Signed-off-by: Steffen Pankratz <kratz00@gmx.de >
2022-09-19 09:48:24 +02:00
John
7d8a87111a
fix for older compilers
2022-09-18 18:08:59 +02:00
John
f3072afe81
increase expected enhanced proto completion timeout
2022-09-18 12:02:53 +02:00