commit 21c9245

default  ·  2024-07-30 15:53:08 +0000 UTC
parent 033c176
On send, consider HTTP status 422 (UNPROCESSABLE_CONTENT) as a fatal error.
1 files changed,  +1, -0
+1, -0
1@@ -2394,6 +2394,7 @@ void process_queue_item(xs_dict *q_item)
2                 || status == HTTP_STATUS_NOT_FOUND
3                 || status == HTTP_STATUS_METHOD_NOT_ALLOWED
4                 || status == HTTP_STATUS_GONE
5+                || status == HTTP_STATUS_UNPROCESSABLE_CONTENT
6                 || status < 0)
7                 /* explicit error: discard */
8                 srv_log(xs_fmt("output message: fatal error %s %d", inbox, status));