Applies programmatic overrides to the framework configuration cache.
This bridges the gap between programmatic createServer() options and
the environment-based framework configuration. Called early in the server
startup sequence (before transport creation) to ensure all downstream
modules see consistent configuration.
Only non-undefined values are applied — environment variables remain
the default source for any unspecified options.
Automatically invalidates satellite caches (rate limiter, DNS rebinding, etc.)
since the underlying config has changed.
After merging, cross-field constraints are re-validated to catch
invalid combinations (e.g., HTTPS mode without TLS paths).
Applies programmatic overrides to the framework configuration cache.
This bridges the gap between programmatic
createServer()options and the environment-based framework configuration. Called early in the server startup sequence (before transport creation) to ensure all downstream modules see consistent configuration.Only non-undefined values are applied — environment variables remain the default source for any unspecified options.
Automatically invalidates satellite caches (rate limiter, DNS rebinding, etc.) since the underlying config has changed.
After merging, cross-field constraints are re-validated to catch invalid combinations (e.g., HTTPS mode without TLS paths).