fix(receiver): charge per-entry DirTimeList cost; cap client --skip-compress

This commit is contained in:
2026-09-13 01:18:54 +02:00
parent 76eeba1773
commit ea2f76cd7a
3 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -1396,7 +1396,7 @@ static void test_dir_time_list_cap() {
EXPECT_TRUE(list.bytes == before_bytes);
} else {
EXPECT_TRUE(list.count == before_count + 1);
EXPECT_TRUE(list.bytes == before_bytes + path_len);
EXPECT_TRUE(list.bytes == before_bytes + path_len + sizeof(FileMetadata) + sizeof(char*));
}
}
EXPECT_TRUE(rejected);