commit 2693c08

default  ·  2024-01-11 05:34:29 +0000 UTC
parent eacfa5b
If the actor from a message from the shared-inbox fails, propagate.

It may be because the actor request needs to be authenticated.
1 files changed,  +8, -2
+8, -2
 1@@ -1594,8 +1594,14 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
 2             return -1;
 3         }
 4 
 5-        /* other actor download errors may need a retry */
 6-        srv_debug(1, xs_fmt("error requesting actor %s %d -- retry later", actor, a_status));
 7+        /* other actor download errors */
 8+
 9+        /* the actor may require a signed request; propagate if no user is set */
10+        if (snac == NULL)
11+            return 2;
12+
13+        /* may need a retry */
14+        srv_debug(0, xs_fmt("error requesting actor %s %d -- retry later", actor, a_status));
15         return 0;
16     }
17