Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
85ffab7
upstream #3643: calibrate walks folders with the engine's bounded walk
emmertex Nov 4, 2026
6385ddb
upstream #3650: the Windows title bar takes the app's theme once the …
emmertex Nov 4, 2026
257c920
upstream #3675: one unpack budget across a preset zip's packs; linear…
emmertex Nov 4, 2026
1e5097b
upstream #3681: one dab budget per brush mask; linear-time defringe m…
emmertex Nov 4, 2026
e77b301
upstream #3695: shared header-scan budget for previews; deflate paddi…
emmertex Nov 4, 2026
e92f252
upstream #3679: linear sparse planning, shared-payload byte count, op…
emmertex Nov 4, 2026
291070d
upstream #3709: index repeated membership scans (metadata keywords, f…
emmertex Nov 4, 2026
31ac15a
upstream #3682: web --serve serves only plain files inside the site; …
emmertex Nov 4, 2026
298e570
upstream #3669: restore plans its writes first; cap render workers
emmertex Nov 4, 2026
fe99188
Upstream intake 2026-11-04: ledger and note for the third port batch
emmertex Nov 4, 2026
35ba650
upstream #1415: explicit export paths follow the conflict policy
emmertex Nov 4, 2026
a273009
Upstream intake 2026-11-04: ledger and note for #1415, #3714
emmertex Nov 4, 2026
0c24b58
Merge remote-tracking branch 'origin/upstream-intake-2026-11-04b' int…
emmertex Nov 4, 2026
0bae126
Merge remote-tracking branch 'origin/main' into upstream-intake-2026-…
emmertex Nov 4, 2026
4b29650
upstream #3607: import applies the develop settings embedded in a JPEG
emmertex Nov 4, 2026
27f6db5
upstream #3613: Find Similar decodes the library's signatures in para…
emmertex Nov 4, 2026
3f55201
upstream #3674: Lightroom catalog reading is bounded in total (XMP pa…
emmertex Nov 4, 2026
3ce346b
upstream #3678: resample tall narrow images columns first
emmertex Nov 4, 2026
6e4dccd
Upstream intake 2026-11-04: ledger and note for the last ADOPT ports
emmertex Nov 4, 2026
f560b91
upstream #3682: neutral file name in the served-paths test (brand check)
emmertex Nov 4, 2026
154e38a
Merge remote-tracking branch 'origin/main' into upstream-intake-2026-…
emmertex Nov 4, 2026
bb96f7c
Upstream intake 2026-11-04: ledger re-review of the PENDING/WATCH rows
emmertex Nov 4, 2026
4c124d5
upstream #3424: a --memory session keeps no panic log; arguments read…
emmertex Nov 4, 2026
75cdb70
upstream #3314: README note for the Windows MSI 1612/1714/1603 update…
emmertex Nov 4, 2026
e49eeba
upstream #3054: an Original export that removes the location refuses …
emmertex Nov 4, 2026
d3c9c85
upstream #3433: a smart album's view keeps the filter bar's rating op…
emmertex Nov 4, 2026
7afdbd6
upstream #3118: the automatic memory budget has no floor above a smal…
emmertex Nov 4, 2026
11c25f4
upstream #3487: X shows beside Flag as Reject in the native macOS menu
emmertex Nov 4, 2026
880bd00
upstream #3572: Sync Settings puts a crop on each photo as what it me…
emmertex Nov 4, 2026
0cde886
Upstream intake 2026-11-04: ledger and note for the PENDING/WATCH re-…
emmertex Nov 4, 2026
dc3ad0b
Merge remote-tracking branch 'origin/main' into upstream-intake-2026-…
emmertex Nov 4, 2026
2f1aa38
upstream #3322: a remembered library that is missing at launch is rep…
emmertex Nov 4, 2026
604590a
upstream #3312: render_photo returns the image inline, so it works ag…
emmertex Nov 4, 2026
1923674
upstream #3312: the private-folder test's app is one from before ui.r…
emmertex Nov 4, 2026
8fc8c60
upstream #3415 (#3147): Russian translations for 204 strings the app …
emmertex Nov 4, 2026
e7d0669
upstream #3312: wire the inline-render control tests, neutral names (…
emmertex Nov 4, 2026
e98ff23
upstream #3284: choose how many of a person's faces a name suggestion…
emmertex Nov 4, 2026
d790fe6
Upstream intake 2026-11-04: ledger and note for the hand-port pass
emmertex Nov 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,14 @@ Installers and executables are code-signed. The installer asks where to install
default; upgrades stay in the folder you chose) and ends on a page confirming the app was installed, with an
option to start it. For unattended installs: `msiexec /i <binary>-<ver>-windows-x64.msi /qn INSTALLFOLDER="D:\Apps\<app>\"`.

**Update or uninstall asks for an old `.msi`, or stops with error 1612 or 1714?** Windows removes the installed version
with its own cached copy of that version's installer; if the copy is gone, it asks for the original file and stops
(an update then ends with error 1603). Download the release MSI of the version and build you have installed from the
releases page and run `msiexec /fv "<path to that .msi>" /qb+ /norestart`, approving the permission prompt if Windows
shows one. That restores the cached copy; then retry the update or uninstall. Opening the MSI, or choosing Repair or
Uninstall on it, may still fail. Error 1603 has other causes too; if this doesn't help, open an issue with the error
message.

### macOS

| Build | File | Notes |
Expand Down
8 changes: 8 additions & 0 deletions README.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,14 @@ Installers and executables are code-signed. The installer asks where to install
default; upgrades stay in the folder you chose) and ends on a page confirming the app was installed, with an
option to start it. For unattended installs: `msiexec /i <binary>-<ver>-windows-x64.msi /qn INSTALLFOLDER="D:\Apps\<app>\"`.

**Update or uninstall asks for an old `.msi`, or stops with error 1612 or 1714?** Windows removes the installed version
with its own cached copy of that version's installer; if the copy is gone, it asks for the original file and stops
(an update then ends with error 1603). Download the release MSI of the version and build you have installed from the
releases page and run `msiexec /fv "<path to that .msi>" /qb+ /norestart`, approving the permission prompt if Windows
shows one. That restores the cached copy; then retry the update or uninstall. Opening the MSI, or choosing Repair or
Uninstall on it, may still fail. Error 1603 has other causes too; if this doesn't help, open an issue with the error
message.

### macOS

| Build | File | Notes |
Expand Down
95 changes: 85 additions & 10 deletions apps/app/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -996,12 +996,12 @@ fn unopened_session() -> Session {
/// The library session with the folders face models (`<config>/models`) and slideshow templates
/// (`<config>/slideshow-templates`) are kept in. With [`Launch::Ask`] no library is opened yet:
/// the window lists the recent ones.
fn open_session(in_memory: bool, launch: &Launch, seed_demo: bool) -> (Session, Option<LibraryProblem>) {
fn open_session(in_memory: bool, launch: &Launch, seed_demo: bool, may_create: bool) -> (Session, Option<LibraryProblem>) {
let (mut s, problem) = match launch {
Launch::Ask => {
(Session::new().with_fs().with_default_denoise_models().with_default_genfill().with_system_clock().with_default_app_store(), None)
}
Launch::Open { dir, .. } => open_library_session(in_memory, dir.clone(), seed_demo),
Launch::Open { dir, .. } => open_library_session(in_memory, dir.clone(), seed_demo, may_create),
};
s.face_models_dir = lcc_engine::config::default_face_models_dir();
s.lens_db = lcc_engine::lens_download::LensSettings::load(lcc_engine::config::config_dir());
Expand All @@ -1018,7 +1018,7 @@ fn open_session(in_memory: bool, launch: &Launch, seed_demo: bool) -> (Session,
/// If the library can't be opened the session is empty and in memory — never seeded with the
/// demo photos, never written anywhere — and the problem is returned: the window then says so
/// and offers Try Again / Choose Another Library… / Continue Without Saving / Quit (issue #100).
fn open_library_session(in_memory: bool, dir: Option<std::path::PathBuf>, seed_demo: bool) -> (Session, Option<LibraryProblem>) {
fn open_library_session(in_memory: bool, dir: Option<std::path::PathBuf>, seed_demo: bool, may_create: bool) -> (Session, Option<LibraryProblem>) {
if in_memory {
return (
if seed_demo { Session::with_demo() } else { Session::new() }
Expand All @@ -1044,6 +1044,18 @@ fn open_library_session(in_memory: bool, dir: Option<std::path::PathBuf>, seed_d
log::warn!("no library location (set --library or {})", lcc_brand::env_var("LIBRARY"));
return (unopened(), Some(LibraryProblem::new("", "There is no home folder to keep the library in. Choose a folder for it.")));
};
// a library the settings remember (or the default location) is opened, never created: on a drive that isn't
// connected its folder is missing, and opening it would make an empty library there, with demo photos, that
// the user then edits and adds to instead of the real one (upstream #3322). `--library` may create.
if !may_create && !lcc_engine::library::is_library(&lcc_engine::library::resolve_dir(&dir).unwrap_or_else(|_| dir.clone())) {
log::warn!("the remembered library {} isn't there; not creating one", dir.display());
let mut problem = LibraryProblem::new(
dir.to_string_lossy(),
format!("{}: no library found here (is its drive connected, or was it moved or renamed?)", dir.display()),
);
problem.never_create = true;
return (unopened(), Some(problem));
}
let t0 = std::time::Instant::now();
let mut s = unopened();
match s.open_library(&dir, seed_demo) {
Expand Down Expand Up @@ -1198,15 +1210,34 @@ fn publish_control_token(port: u16, token: &str, supplied: bool) {
/// The emergency crash log, `<binary>-panics.log` beside the other logs in the user's own settings
/// folder (an isolated profile's with `<PREFIX>_CONFIG_DIR`). Never the shared temp folder, where
/// another user on the machine could create the file first or point it at one of the user's files.
/// `None` (standard error only) where no logs are kept.
fn panic_log_path() -> Option<std::path::PathBuf> {
/// `None` (standard error only) where no logs are kept, and in a `--memory` session, which saves nothing (upstream
/// #2572). `args` are the program's arguments, read before they are parsed (the panic hook is installed first to catch
/// a panic while parsing); they are `OsString`s, so an argument that isn't UTF-8 can't panic here.
fn panic_log_path(args: impl IntoIterator<Item = std::ffi::OsString>) -> Option<std::path::PathBuf> {
if in_memory_session(args) {
return None;
}
log_dir().map(|d| d.join(format!("{}-panics.log", lcc_brand::BINARY)))
}

/// Whether the arguments ask for a `--memory` (or `--demo`) session. The values of `--control` and `--library` are
/// skipped, as the parser takes them.
fn in_memory_session(args: impl IntoIterator<Item = std::ffi::OsString>) -> bool {
let mut args = args.into_iter();
while let Some(a) = args.next() {
if a == "--control" || a == "--library" {
args.next();
} else if a == "--memory" || a == "--demo" {
return true;
}
}
false
}

fn main() -> eframe::Result {
// First, so every start-up record is kept for the log file (`logging`).
let logger = logging::install();
lcc_engine::guard::install_hook(panic_log_path());
lcc_engine::guard::install_hook(panic_log_path(std::env::args_os().skip(1)));
if let Some(logger) = logger {
logging::record_panics(logger);
}
Expand Down Expand Up @@ -1313,6 +1344,8 @@ fn main() -> eframe::Result {
// never opened as this app's own.
let mut prefs = prefs;
let explicit = library_dir.or_else(|| lcc_brand::env_os("LIBRARY").filter(|p| !p.is_empty()).map(Into::into));
// only a library named on the command line or in the environment may be created at launch
let explicit_given = explicit.is_some();
let plan = lcc_ui_egui::panels::library_problem::launch_plan(in_memory, explicit.clone(), None, prefs.as_ref().map(|u| &u.settings), None);
let (library_dir, welcome) = if in_memory || plan == Launch::Ask {
(explicit, None)
Expand Down Expand Up @@ -1416,7 +1449,7 @@ fn main() -> eframe::Result {
let (mut session, mut problem) = if upgrade.is_some() || welcome.is_some() {
(unopened_session(), None)
} else {
open_session(in_memory, &launch, seed_demo && files.is_empty())
open_session(in_memory, &launch, seed_demo && files.is_empty(), explicit_given)
};
// AI masks: the SAM 3 checkpoint (facebook/sam3) in <config>/models/sam3, or <PREFIX>_SAM3_DIR
// (never required: without it, AI masks offer to download it; see docs/ai-masks.md)
Expand Down Expand Up @@ -1722,11 +1755,32 @@ mod tests {
let _ = std::fs::remove_dir_all(&home);
}

/// Upstream #3322: a library the settings remember that is not there (an unmounted drive) is reported and not
/// created; one named on the command line is created; a library that is there opens either way.
#[test]
fn a_remembered_library_that_is_missing_is_not_created() {
let dir = std::env::temp_dir().join(format!("lcc-remembered-missing-{}", std::process::id()));
let _ = std::fs::remove_dir_all(&dir);
let lib = dir.join("unmounted").join("Library");
let (_, problem) = open_library_session(false, Some(lib.clone()), true, false);
let problem = problem.expect("a problem is reported");
assert!(problem.never_create && problem.error.contains("no library found"), "{}", problem.error);
assert!(!lib.exists() && !dir.exists(), "nothing was created where the library should be");
// named on the command line: created
let (s, problem) = open_library_session(false, Some(lib.clone()), false, true);
assert!(problem.is_none() && lcc_engine::library::is_library(&lib));
drop(s);
// there now: opened as a remembered library too
let (_, problem) = open_library_session(false, Some(lib.clone()), false, false);
assert!(problem.is_none(), "{:?}", problem.map(|p| p.error));
let _ = std::fs::remove_dir_all(&dir);
}

/// Issue #236: the window answers control requests on its UI thread, so the desktop session
/// adds to Apple Photos on a worker (headless sessions wait instead).
#[test]
fn the_desktop_session_adds_to_apple_photos_in_the_background() {
let (s, problem) = open_session(true, &Launch::Open { dir: None, alt_asks: false }, false);
let (s, problem) = open_session(true, &Launch::Open { dir: None, alt_asks: false }, false, true);
assert!(problem.is_none());
assert!(s.apple_photos_background);
assert!(!lcc_engine::Session::new().apple_photos_background);
Expand All @@ -1737,7 +1791,7 @@ mod tests {
/// removed entry is kept), unlike the failed-library window's temporary session.
#[test]
fn asking_at_launch_opens_nothing_and_still_saves_the_settings() {
let (s, problem) = open_session(false, &Launch::Ask, true);
let (s, problem) = open_session(false, &Launch::Ask, true, true);
assert!(problem.is_none() && s.library.is_none() && s.catalog.is_empty());
assert!(s.apple_photos_background, "the same desktop session as an opened one");

Expand Down Expand Up @@ -2288,6 +2342,27 @@ mod config_path_tests {
#[test]
fn panic_log_stays_in_the_settings_folder() {
let name = format!("{}-panics.log", lcc_brand::BINARY);
assert_eq!(panic_log_path(), log_dir().map(|d| d.join(name)));
assert_eq!(panic_log_path(std::iter::empty()), log_dir().map(|d| d.join(name)));
}

/// A `--memory` session keeps no panic log (it saves nothing); an option's value that reads `--memory` is not the
/// flag; an argument that isn't UTF-8 doesn't stop the check.
#[test]
fn in_memory_sessions_are_spotted_before_parsing() {
let args = |a: &[&str]| a.iter().map(std::ffi::OsString::from).collect::<Vec<_>>();
assert!(in_memory_session(args(&["--memory"])));
assert!(in_memory_session(args(&["photo.jpg", "--demo"])));
assert!(in_memory_session(args(&["--control", "7980", "--memory"])));
assert!(!in_memory_session(args(&[])));
assert!(!in_memory_session(args(&["--no-demo", "photo.jpg"])));
assert!(!in_memory_session(args(&["--library", "--memory"])));
assert!(!in_memory_session(args(&["--control", "--demo"])));
assert_eq!(panic_log_path(args(&["--memory"])), None);
#[cfg(unix)]
{
use std::os::unix::ffi::OsStringExt;
let odd = std::ffi::OsString::from_vec(vec![0x66, 0xff, 0x6f]);
assert!(in_memory_session([odd, "--demo".into()]));
}
}
}
10 changes: 6 additions & 4 deletions apps/app/src/native_menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ const QUIT: &str = "app.quit";
/// Settings… (the app menu on macOS; Edit elsewhere).
const SETTINGS: &str = "app.settings";
const SETTINGS_KEY: &str = "Cmd+,";
/// Keys whose meaning depends on the panel (X = reject or swap crop aspect, ⌫ = delete the photo
/// or the active mask; ⌘↑/⌘↓ flag status follows Compare/Survey's active photo): left to the egui
/// handler, which knows the context.
const CONTEXTUAL: &[&str] = &["X", "Delete", "Cmd+Up", "Cmd+Down"];
/// Keys whose meaning depends on the panel (⌫ = delete the photo or the active mask; ⌘↑/⌘↓ flag
/// status follows Compare/Survey's active photo): left to the egui handler, which knows the
/// context. X (reject, or swap the crop aspect under the Crop panel) isn't listed: as a plain key
/// it never reaches the menu bar, so its accelerator only shows next to Reject (upstream #3487;
/// not run on macOS here).
const CONTEXTUAL: &[&str] = &["Delete", "Cmd+Up", "Cmd+Down"];
/// Shortcuts text fields need while they have focus.
const TEXT_EDIT: &[&str] = lcc_ui_egui::menubar::TEXT_EDIT_SHORTCUTS;

Expand Down
59 changes: 47 additions & 12 deletions apps/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,12 @@ fn main() -> ExitCode {
}

/// Raw files below `path` (or `path` itself), skipping hidden and NAS metadata folders.
fn raw_files(path: &Path, out: &mut Vec<std::path::PathBuf>, depth: usize) {
///
/// Folders go through the engine's bounded walk ([`lcc_engine::walk::files_in_entering`]): it enters a folder reached
/// through a link once at most and stops at a depth and an entry budget. A folder of links pointing back at their
/// parents made the old recursive walk re-read the same folders exponentially often before its depth limit cut it
/// off (upstream #3643).
fn raw_files(path: &Path, out: &mut Vec<std::path::PathBuf>) {
let is_raw = |p: &Path| {
p.extension()
.and_then(|e| e.to_str())
Expand All @@ -341,17 +346,20 @@ fn raw_files(path: &Path, out: &mut Vec<std::path::PathBuf>, depth: usize) {
}
return;
}
let Ok(entries) = std::fs::read_dir(path) else { return };
if depth > 32 {
return;
}
for entry in entries.flatten() {
let name = entry.file_name();
if name.to_string_lossy().starts_with(['.', '@']) {
continue;
}
raw_files(&entry.path(), out, depth + 1);
// (hidden entries are left out by the walk; `@eaDir` and other NAS metadata folders and files here, folders
// before they are listed so their entries do not use up the walk's budget)
let nas_metadata = |p: &Path| p.file_name().is_some_and(|n| n.to_string_lossy().starts_with('@'));
let walked = lcc_engine::walk::files_in_entering(
path,
None,
lcc_engine::walk::Limits::default(),
|p| is_raw(p) && !nas_metadata(p) && p.is_file(),
|p| !nas_metadata(p),
);
if walked.truncated {
eprintln!("calibrate: {} has more folders or entries than a walk looks at; the rest is left out", path.display());
}
out.extend(walked.files);
}

/// `camdb extract`: entries from camera-native DNGs; `camdb show`: the entry a camera resolves to.
Expand Down Expand Up @@ -413,7 +421,7 @@ fn calibrate(args: &[String]) -> Result<(), String> {
}
let mut files = Vec::new();
for input in &inputs {
raw_files(Path::new(input), &mut files, 0);
raw_files(Path::new(input), &mut files);
}
files.sort();
files.dedup();
Expand Down Expand Up @@ -1373,3 +1381,30 @@ mod tests {
let _ = std::fs::remove_dir_all(&d);
}
}

#[cfg(all(test, unix))]
mod raw_files_tests {
use super::raw_files;

/// Links back to their own folders are entered once, not once per path that reaches them: a
/// handful of such links made the old walk list the same folders exponentially often.
#[test]
fn folder_links_back_up_are_walked_once() {
let dir = std::env::temp_dir().join(format!("cli-raw-files-{}", std::process::id()));
let _ = std::fs::remove_dir_all(&dir);
let a = dir.join("a");
std::fs::create_dir_all(a.join("@eaDir")).unwrap();
std::fs::write(a.join("one.NEF"), b"").unwrap();
std::fs::write(a.join("@eaDir").join("thumb.nef"), b"").unwrap();
std::fs::write(a.join("notes.txt"), b"").unwrap();
for i in 0..8 {
std::os::unix::fs::symlink(&dir, a.join(format!("up{i}"))).unwrap();
}
let started = std::time::Instant::now();
let mut files = Vec::new();
raw_files(&dir, &mut files);
assert!(started.elapsed() < std::time::Duration::from_secs(10), "walk took {:?}", started.elapsed());
assert_eq!(files, vec![a.join("one.NEF")]);
let _ = std::fs::remove_dir_all(&dir);
}
}
36 changes: 36 additions & 0 deletions apps/web/src/backup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,25 @@ pub fn parse_central(cd: &[u8]) -> Result<Vec<ZipEntry>, String> {
Ok(out)
}

/// What a restore writes, each storage key once, checked against the whole directory before any
/// payload is read: a backup names a file once, so a directory naming the same destination again
/// is damaged or altered, and its entries' bytes can't add up to more than the file holds (a
/// directory can point many entries at one stored range and have each read, checked and written).
pub fn restore_plan<'a>(entries: &'a [ZipEntry], dir: &str, file_len: u64) -> Result<Vec<(String, &'a ZipEntry)>, String> {
let mut seen = std::collections::HashSet::new();
let mut plan = Vec::new();
let mut bytes = 0u64;
for e in entries {
let Some(key) = restore_key(&e.name, dir) else { continue };
if !seen.insert(key.clone()) {
return Err(format!("{}: listed twice (damaged or altered backup)", e.name));
}
bytes = bytes.checked_add(e.size).filter(|&b| b <= file_len).ok_or_else(|| format!("{}: entries larger than the backup itself", e.name))?;
plan.push((key, e));
}
Ok(plan)
}

/// Offset of an entry's data from its local header's first 30 bytes.
pub fn data_offset(entry: &ZipEntry, local: &[u8]) -> Result<u64, String> {
if rd32(local, 0) != Some(LOCAL_SIG) {
Expand Down Expand Up @@ -342,6 +361,23 @@ mod tests {
assert!(!valid_library_dir("library-../x") && !valid_library_dir("originals") && !valid_library_dir("library-"));
}

#[test]
fn restore_plan_refuses_repeated_and_oversized_entries() {
let entry = |name: &str, size: u64| ZipEntry { name: name.into(), crc: 0, size, header: 0, method: 0 };
let ok = [entry("README.txt", 10), entry("library/catalog.log", 10), entry("originals/abc123/a.jpg", 100)];
let plan = restore_plan(&ok, "d", 200).unwrap();
assert_eq!(plan.iter().map(|(k, _)| k.as_str()).collect::<Vec<_>>(), ["d/catalog.log", "originals/abc123"]);
// one stored range named 3 times would be read, checked and written 3 times
let twice = [entry("originals/abc123/a.jpg", 100), entry("originals/abc123/b.jpg", 100)];
assert!(restore_plan(&twice, "d", 1000).unwrap_err().contains("twice"));
let twice = [entry("library/catalog.log", 10), entry("library/catalog.log", 10)];
assert!(restore_plan(&twice, "d", 1000).is_err());
// entries claiming more bytes than the file has
let big = [entry("library/catalog.log", 150), entry("originals/abc123/a.jpg", 100)];
assert!(restore_plan(&big, "d", 200).is_err());
assert!(restore_plan(&[entry("library/catalog.log", u64::MAX), entry("library/presets.json", 1)], "d", u64::MAX).is_err());
}

#[test]
fn size_limits_are_errors_not_panics() {
let mut w = ZipWriter { offset: MAX_BYTES - 10, ..Default::default() };
Expand Down
Loading