Commit Graph
913 Commits
Author SHA1 Message Date
John 730d92d06c abstract bus protocol handling 2023-10-13 08:08:58 +02:00
John 6c66fd553b lint, docs, remove unused includes 2023-10-12 21:29:31 +02:00
John 28bebfa49d check for timegm() 2023-10-01 23:42:56 +02:00
John 5f493255ee prepare logging without timestamp 2023-10-01 22:31:50 +02:00
John d9f1bc58f3 fix building ebusfeed 2023-10-01 18:24:12 +02:00
John c71b1daf74 remove unused param to arg parser 2023-10-01 14:54:27 +02:00
John acc6eddbba fix previous commit, formatting 2023-10-01 14:29:11 +02:00
John 22b6f02752 get rid of argp dependency 2023-10-01 14:09:38 +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
Alex SamorukovandGitHub 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