From eb04c8e4f2d58e5fed047fd9e26638ccd07509e0 Mon Sep 17 00:00:00 2001 From: default Date: Fri, 6 Oct 2023 17:33:44 +0200 Subject: [PATCH] On output, consider HTTP status 405 (not allowed) as a fatal error. --- activitypub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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