3d030a96b7
Updated sts_handle_capability to return FALSE after logging the no‑TLS warning, so the insecure upgrade path doesn’t stop capability negotiation; it still returns TRUE only when an STS upgrade/reconnect is initiated or already in progress.
...
Confirmed inbound_cap_ls only returns early when sts_upgrade_triggered is set by sts_handle_capability, which now only happens for real upgrade/reconnect initiation or in‑progress upgrades.
2026-02-04 12:42:04 -07:00
eae5a209d3
Updated STS parsing to ignore preload tokens that include a value while preserving duplicate-preload rejection for valid tokens.
2026-02-04 11:58:13 -07:00
78a00b5b88
Updated STS policy handling to preserve any existing stored port on secure updates rather than overwriting it from the current TLS port, keeping secure-path updates focused on duration/preload.
2026-02-04 11:57:54 -07:00
b9bc65e3c2
Updated STS parsing to only accept preload when it appears without a value, ignoring tokens like preload=0.
2026-02-04 11:39:20 -07:00
3d8d3958ea
Updated STS parsing to treat duplicate port, duration, or preload keys as invalid by returning FALSE immediately when repeats are encountered.
2026-02-04 11:35:40 -07:00
b09e6a5405
Updated STS policy handling to require an active connection port when already on TLS, ignoring any advertised port token before storing the profile.
2026-02-04 10:30:13 -07:00
89a8f3eb0a
Updated STS handling to require an explicit port in insecure-connection capability upgrades, ignoring incomplete policies without upgrading.
2026-02-04 10:19:26 -07:00
bc1d2e5f7a
Updated STS upgrade handling to fall back to the current connection port when servers omit a port in the STS capability, enabling TLS upgrades for non-TLS connections in that case.
2026-01-25 18:26:20 -07:00
a0f0c48bc5
Added STS profile persistence and policy parsing/enforcement (including load/save, upgrades, and expiry rescheduling) to the STS module.
...
Integrated STS capability handling and connection lifecycle hooks (ignore CAP DEL, trigger upgrades, reschedule on disconnect, new server fields).
Initialized and cleaned up STS state during startup/shutdown to persist policies across sessions.
2026-01-25 17:20:53 -07:00
4d6c77704c
Added STS profile data structures plus serialize/deserialize helpers for storing profile state in a compact string form.
...
Registered the new STS source file in the Meson and Visual Studio build definitions.
2026-01-25 16:51:43 -07:00