Commit graph

28 commits

Author SHA1 Message Date
default
00b019b890 Backport from xs. 2024-03-09 08:32:20 +01:00
default
755d997fb1 Updated copyright year. 2024-01-04 09:22:03 +01:00
default
203dd88389 Be more strict in not retrying on permanent errors. 2023-08-09 19:36:31 +02:00
default
912cfb5aaa Backport from xs. 2023-08-09 15:54:36 +02:00
default
0f8c0cd694 Updated comment in headers. 2023-07-28 11:34:18 +02:00
poesty
7d3a909598 Fixed webfinger and curl issues 2023-05-07 13:42:47 +08:00
Saagar Jha
ea9c030249 Fix heap overflow from curl-originating buffers
Most of xs.h seems to expect that buffers are rounded up to block size,
so we should preserve that invariant here. (In particular, xs_expand
will avoid calling xs_realloc if the new size fits in the same block,
which means that if we don't pad out the data it will expand out of the
memory we're allocated.)
2023-04-10 01:34:48 -07:00
default
1b22dbb5df Backport from xs. 2023-03-30 10:49:08 +02:00
default
d0306975c5 Changed the way the content-length is set. 2023-03-03 22:40:37 +01:00
default
463439283a Minor header tweaks. 2023-02-02 03:49:38 +01:00
default
ec07b0c59d Backport from xs. 2023-02-02 03:37:17 +01:00
default
876bebd9ac Backport from xs. 2023-01-28 17:49:02 +01:00
default
fd1e281cba Use a shorter timeout for first output connections. 2023-01-24 15:06:58 +01:00
default
a38c7aeadc Updated year in copyright notices. 2023-01-17 09:50:16 +01:00
default
bb0d8f2a27 Backport from xs. 2023-01-12 09:28:02 +01:00
default
da7e57f4cc Backport from xs. 2023-01-08 10:39:11 +01:00
default
b564d8bcb7 More curl timeout tweaks. 2022-12-24 07:05:39 +01:00
default
97e040e048 Backport from xs. 2022-12-17 18:52:57 +01:00
default
40c748bc5b Don't force HTTP/1.1 connections by default. 2022-12-16 12:05:01 +01:00
Toby Jaffey
4b37678207 Ensure that pd variable stays in scope while curl request runs
Fix for #19
2022-12-10 13:15:29 +00:00
default
a1c910553f Backport from xs. 2022-11-04 09:42:24 +01:00
default
acc2bb1549 Backport from xs. 2022-10-26 08:29:11 +02:00
default
fa870ab358 Backport from xs. 2022-10-25 09:32:41 +02:00
default
3e2cfa48d9 Alert if _timeline_find_fn() finds more than one file. 2022-10-05 12:08:17 +02:00
default
d2bdaf378f More work in http signed request. 2022-09-21 09:31:05 +02:00
default
2766fbd49c Imported changes from xs. 2022-09-20 13:36:20 +02:00
default
e5167b7b49 Renamed xs_splitn() to xs_split_n(). 2022-09-19 23:08:59 +02:00
default
67288a763b Imported xs. 2022-09-19 20:41:11 +02:00