Commit Graph
202 Commits
Author SHA1 Message Date
John 033586c63c fix missed fd_set 2024-03-27 06:54:59 +01:00
John d6ea68db94 simplify log facility handling 2024-02-24 13:25:07 +01:00
John 5bf0ab8eaa updated year 2024-02-04 09:36:20 +01:00
John 8ac8e59383 mark unused attributes 2023-12-26 10:50:48 +01:00
John e59fbc4605 avoid using less portable basename() (fixes #1094) 2023-12-25 15:44:44 +01:00
John 15de49cab1 fix non-ssl build 2023-11-11 10:19:03 +01:00
John 077d09b620 lint 2023-11-04 09:31:08 +01:00
John 3d9dd9b1c3 add positionals to arg parser, avoid unnecessary parts in arg options 2023-11-01 22:37:30 +01:00
John ef8be0133d workaround for potentially unusable SSL context 2023-10-14 16:49:31 +02:00
John 7198a1f015 dont wait when not running 2023-10-14 09:05:25 +02:00
John dc78076fbc support json index 2023-10-13 23:50:20 +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 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
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 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 ec6dae6abb allow late init of ssl 2023-05-18 12:04:42 +02: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 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 7d8a87111a fix for older compilers 2022-09-18 18:08:59 +02:00
John cf9d0cc030 extract and use common socketConnect method and apply timeout on device connect (potential fix for #594) 2022-09-18 12:01:29 +02:00
john30 ce6ea68f22 formatting, remove unused 2022-09-17 23:57:24 +02:00
John 1612080391 add clockGetMillis() 2022-09-10 14:21:39 +02:00
John 327704ff3b add optional millis to Wait(), fix waitNotified() time calculation 2022-09-10 14:21:24 +02:00
John 856e23be13 formatting 2022-04-18 08:40:19 +02:00
John 88916b9a18 extract string helper 2022-04-18 08:20:20 +02:00
John 7abcfadb1c test smaller slices and longer time for weird BIO_do_connect error during build test 2022-03-19 13:30:22 +01:00
John ab97fc3299 add --capath and --cafile including insecure option 2022-02-19 12:55:38 +01:00
John d5f4ced49e prepare CA path+file options, use ssl lib defaults, fix reconnect with https 2022-02-13 11:33:55 +01:00
John abec19eca0 backwards compatibility 2022-02-12 15:43:49 +01:00
John d4ae0e9e46 code style 2022-02-12 12:50:11 +01:00
John 7ae43351da code style 2022-02-12 12:42:35 +01:00
John f1a5d87aab auto-initialize 2022-02-12 08:05:59 +01:00