diff options
| author | 2023-09-01 11:50:01 +0200 | |
|---|---|---|
| committer | 2023-09-01 11:50:01 +0200 | |
| commit | 4e87a1106a589e2edcaabbdc8a834e47a813414e (patch) | |
| tree | 22885c0cb8508030ee7efd5b12e70ff89510015a /activitypub.c | |
| parent | Some fixes to 'Undo' messages. (diff) | |
| download | snac2-4e87a1106a589e2edcaabbdc8a834e47a813414e.tar.gz snac2-4e87a1106a589e2edcaabbdc8a834e47a813414e.tar.xz snac2-4e87a1106a589e2edcaabbdc8a834e47a813414e.zip | |
Consider error status 400 as fatal in output messages.
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 13e0c3c..90ad874 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1901,7 +1901,7 @@ void process_queue_item(xs_dict *q_item) | |||
| 1901 | retries++; | 1901 | retries++; |
| 1902 | 1902 | ||
| 1903 | /* error sending; requeue? */ | 1903 | /* error sending; requeue? */ |
| 1904 | if (status == 404 || status == 410 || status < 0) | 1904 | if (status == 400 || status == 404 || status == 410 || status < 0) |
| 1905 | /* explicit error: discard */ | 1905 | /* explicit error: discard */ |
| 1906 | srv_log(xs_fmt("output message: fatal error %s %d", inbox, status)); | 1906 | srv_log(xs_fmt("output message: fatal error %s %d", inbox, status)); |
| 1907 | else | 1907 | else |