Commit Graph
184 Commits
Author SHA1 Message Date
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
John 026b1994fd start SSL 2022-02-07 22:57:38 +01:00
John e3dfe32350 start SSL 2022-02-07 22:34:43 +01:00
John 0135dc9100 update year 2022-02-06 13:37:08 +01:00
John b3ba3a4c99 spelling 2022-01-08 15:15:53 +01:00
John 193bd9ae64 fix for weird string ctor behaviour 2021-11-13 10:43:56 +01:00
John 3af8ede096 updated copyright year 2021-01-16 08:32:09 +01:00
John 8bd35646d3 formatting 2021-01-10 15:12:59 +01:00
John cff4e4a8cb fix stupid merge 2021-01-10 14:13:07 +01:00
John c129222ffc Merge remote-tracking branch 'origin/master' into enhanced_device
# Conflicts:
#	docs/enhanced_proto.md
#	src/ebusd/bushandler.cpp
#	src/lib/ebus/device.cpp
#	src/lib/ebus/device.h
2021-01-10 13:51:53 +01:00
john30 61feda2f34 Revert "Merge branch 'enhanced_device' of github.com:john30/ebusd"
This reverts commit aaccb15a9b, reversing
changes made to edfe09a383.
2020-12-06 17:57:22 +01:00
John-Michael Baier b5616c1126 add NotifiableThread 2020-12-06 16:28:12 +01:00
john30 a46292468a don't require logging if log file is not set 2020-04-11 13:26:10 +02:00
john30 dae039e563 add FORWARD_RAW_TTY define to use raw output as option to forward data to a serial connection with same params as a usual bus interface 2020-04-11 13:20:10 +02:00
john30 fb32960402 add option to reduce dump flush buffer size to 1 2020-01-25 15:22:30 +01:00
john30 fa977f45f4 add support for logging to syslog (fixes #293), log exit on errors during daemonization, log config path on error, better variable names 2019-10-06 14:12:52 +02:00
Alex SamorukovandJohn 67fc6e59cc FreeBSD and MacOS related fixes and improvements: compilation and serial port access (#290)
fixes for compilation and usage under FreeBSD+MaxOS including setting low latency for FTDI device (thanks @samm-git)
2019-08-11 08:06:13 +02:00
john30 45b9bad57e missing include (fixes #212) 2018-10-21 14:42:00 +02:00
john30 1eb3518145 code style, documentation 2018-05-10 13:01:21 +02:00