diff options
author | default <nobody@localhost> | 2024-07-30 17:53:08 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2024-07-30 17:53:08 +0200 |
commit | 21c9245f7ffbc217903572665509bb4e7b7620ea (patch) | |
tree | b24024af3c1f3df331b92ea414d0333ed727f4af /activitypub.c | |
parent | 033c176d8d1cdb170eaa99710e1ad3b201060c01 (diff) |
On send, consider HTTP status 422 (UNPROCESSABLE_CONTENT) as a fatal error.
Diffstat (limited to 'activitypub.c')
-rw-r--r-- | activitypub.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c index 63bdab9..5c52959 100644 --- a/activitypub.c +++ b/activitypub.c @@ -2394,6 +2394,7 @@ void process_queue_item(xs_dict *q_item) || status == HTTP_STATUS_NOT_FOUND || status == HTTP_STATUS_METHOD_NOT_ALLOWED || status == HTTP_STATUS_GONE + || status == HTTP_STATUS_UNPROCESSABLE_CONTENT || status < 0) /* explicit error: discard */ srv_log(xs_fmt("output message: fatal error %s %d", inbox, status)); |