Browse Source

Increase the size of outgoing payload errors in the log.

grunfink 4 tháng trước cách đây
mục cha
commit
210bb07a34
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      activitypub.c

+ 2 - 2
activitypub.c

@@ -3557,9 +3557,9 @@ void process_queue_item(xs_dict *q_item)
         instance_failure(inbox, valid_status(status) ? 2 : 1);
 
         if (payload) {
-            if (p_size > 64) {
+            if (p_size > 1024) {
                 /* trim the message */
-                payload[64] = '\0';
+                payload[1024] = '\0';
                 payload = xs_str_cat(payload, "...");
             }