mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
On send, consider HTTP status 422 (UNPROCESSABLE_CONTENT) as a fatal error.
This commit is contained in:
parent
033c176d8d
commit
21c9245f7f
1 changed files with 1 additions and 0 deletions
|
@ -2394,6 +2394,7 @@ void process_queue_item(xs_dict *q_item)
|
||||||
|| status == HTTP_STATUS_NOT_FOUND
|
|| status == HTTP_STATUS_NOT_FOUND
|
||||||
|| status == HTTP_STATUS_METHOD_NOT_ALLOWED
|
|| status == HTTP_STATUS_METHOD_NOT_ALLOWED
|
||||||
|| status == HTTP_STATUS_GONE
|
|| status == HTTP_STATUS_GONE
|
||||||
|
|| status == HTTP_STATUS_UNPROCESSABLE_CONTENT
|
||||||
|| status < 0)
|
|| 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));
|
||||||
|
|
Loading…
Reference in a new issue