diff options
author | default <nobody@localhost> | 2023-10-06 17:33:44 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-10-06 17:33:44 +0200 |
commit | eb04c8e4f2d58e5fed047fd9e26638ccd07509e0 (patch) | |
tree | 84a41b19db715d9483cf88c0b39976940ba2410c /activitypub.c | |
parent | 1cb202d7577178dfa32b1e63970e3e99ce307f82 (diff) |
On output, consider HTTP status 405 (not allowed) as a fatal error.
Diffstat (limited to 'activitypub.c')
-rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index 514bf5d..35645af 100644 --- a/activitypub.c +++ b/activitypub.c @@ -1942,7 +1942,7 @@ void process_queue_item(xs_dict *q_item) retries++; /* error sending; requeue? */ - if (status == 400 || status == 404 || status == 410 || status < 0) + if (status == 400 || status == 404 || status == 405 || status == 410 || status < 0) /* explicit error: discard */ srv_log(xs_fmt("output message: fatal error %s %d", inbox, status)); else |