forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/client/src/net/fetch.rsClear filter

2026-11-25

♻️ refactor: validation lives on the call and the client calls directlyAhmet Kaan Gümüş · 7bb542d
♻️ refactor: validation lives on the call and the client calls directly

Each call validates its own fields in Call::validate, run once by the
client before sending and once by the server before handling. GUI code
sends call structs straight through net.call, so the hundred pass through
wrappers in net/mod.rs are gone. Dead code and duplicated logic found by
an audit of the new network modules are removed.
♻️ refactor: one transport, one framing and a split error modelAhmet Kaan Gümüş · e2d1bd5
♻️ refactor: one transport, one framing and a split error model

Split the client network module into net/{link,events,datagram,voice,share}.
Both sides share one QUIC transport config, an ALPN protocol version and
typed close codes; the client resolves hosts per family with backoff.
Every stream uses one length prefixed bitcode frame with a reset on drop
send guard, and uploads, downloads and backups go through Open{Call,
Upload, Fetch}. Wire errors are separate from server internal and client
link errors, and the GUI matches enums instead of strings.