commit e705e5c
default
·
2023-03-02 11:30:00 +0000 UTC
parent 4773d6c
Show a bigger piece of a connection error.
1 files changed,
+3,
-3
+3,
-3
1@@ -1210,9 +1210,9 @@ void process_queue_item(xs_dict *q_item)
2 status = send_to_inbox_raw(keyid, seckey, inbox, msg, &payload, &p_size, retries == 0 ? 3 : 8);
3
4 if (payload) {
5- if (p_size > 24) {
6+ if (p_size > 64) {
7 /* trim the message */
8- payload[24] = '\0';
9+ payload[64] = '\0';
10 payload = xs_str_cat(payload, "...");
11 }
12
13@@ -1361,7 +1361,7 @@ int activitypub_get_handler(d_char *req, char *q_path,
14 msg = msg_actor(&snac);
15 *ctype = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"";
16
17- snac_debug(&snac, 1, xs_fmt("serving actor"));
18+ snac_debug(&snac, 0, xs_fmt("serving actor"));
19 }
20 else
21 if (strcmp(p_path, "outbox") == 0) {