Commit Graph
38 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 4bbcc7918f enable retry mode for older ssl libs 2022-12-17 16:46:23 +01:00
John 7d8a87111a fix for older compilers 2022-09-18 18:08:59 +02:00
john30 ce6ea68f22 formatting, remove unused 2022-09-17 23:57:24 +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 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
john30 1eb3518145 code style, documentation 2018-05-10 13:01:21 +02:00
john30 35afd9908c code style 2018-05-06 15:27:44 +02:00
john30 1c17f7c466 use nullptr instead of NULL 2018-05-06 14:54:52 +02:00
john30 230abbb9fb added connect timeout, fixed non-closed sockets on connect error 2018-04-04 17:25:39 +02:00
john30 bd5f800426 code style, missing initializers and imports 2018-04-04 15:48:26 +02:00
john30 a77b740720 extended request and get to optionally retrieve last-modified header, fix for potentially wrong content-length extraction 2018-04-04 09:57:38 +02:00
john30 f2f70d400a accept urls without trailing '/' 2018-02-04 16:18:10 +01:00
john30 c94da06975 made http client more flexible and support content-length response header 2018-02-03 23:27:02 +01:00
john30 d6668713d1 extracted http client 2018-01-28 15:12:59 +01:00