mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-26 01:03:37 +00:00
On output, consider HTTP status 405 (not allowed) as a fatal error.
This commit is contained in:
parent
1cb202d757
commit
eb04c8e4f2
1 changed files with 1 additions and 1 deletions
|
@ -1942,7 +1942,7 @@ void process_queue_item(xs_dict *q_item)
|
||||||
retries++;
|
retries++;
|
||||||
|
|
||||||
/* error sending; requeue? */
|
/* 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 */
|
/* explicit error: discard */
|
||||||
srv_log(xs_fmt("output message: fatal error %s %d", inbox, status));
|
srv_log(xs_fmt("output message: fatal error %s %d", inbox, status));
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue