On send, consider HTTP status 422 (UNPROCESSABLE_CONTENT) as a fatal error.

This commit is contained in:
default 2024-07-30 17:53:08 +02:00
parent 033c176d8d
commit 21c9245f7f

View file

@ -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));