Dedupe the QUIC key-and-dial recipe across mux d and mux a #89

Open
opened 2026-09-05 19:09:43 +00:00 by a73x · 0 comments
a73x commented 2026-09-05 19:09:43 +00:00 (Migrated from git.a73x.sh)

Three copies: main.zig openAdminQuic, main.zig start --quic, muxa.zig openQuicConn. All three resolve the key by the same rule (--key, MUX_KEY_FILE, default path), parse HOST[:PORT], connect and pump to ready under a deadline. Only the refusal wording differs (prose vs muxa's JSON). Lift the shared part into quic.zig or a client-side helper that returns a typed refusal the caller words. Third copy means refactor.


Migrated from git-collab issue 0e7ec4818b6168bb02fc90310d639468ec3d5434.

Original author: a73x dev@a73x.sh.

Three copies: main.zig openAdminQuic, main.zig start --quic, muxa.zig openQuicConn. All three resolve the key by the same rule (--key, MUX_KEY_FILE, default path), parse HOST[:PORT], connect and pump to ready under a deadline. Only the refusal wording differs (prose vs muxa's JSON). Lift the shared part into quic.zig or a client-side helper that returns a typed refusal the caller words. Third copy means refactor. --- Migrated from git-collab issue `0e7ec4818b6168bb02fc90310d639468ec3d5434`. Original author: a73x <dev@a73x.sh>.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
a73x/mux#89
No description provided.