Summary
test-https-server-async-dispose fails with:
[node:https] tls config unavailable; refusing to listen
An https server created in a context exercised by await using / Symbol.asyncDispose can't resolve its TLS config at listen() time, so it refuses to listen. Either the key/cert options aren't threaded through the async-dispose-wrapped server construction, or the TLS config is torn down too early. Confirm the server gets its TLS config when created under async-dispose.
Acceptance
test-https-server-async-dispose listens and disposes cleanly.
Found re-measuring #2132's corpus on main. Distinct bug split out of the behavioral tail.
Summary
test-https-server-async-disposefails with:An https server created in a context exercised by
await using/Symbol.asyncDisposecan't resolve its TLS config atlisten()time, so it refuses to listen. Either the key/cert options aren't threaded through the async-dispose-wrapped server construction, or the TLS config is torn down too early. Confirm the server gets its TLS config when created under async-dispose.Acceptance
test-https-server-async-disposelistens and disposes cleanly.Found re-measuring #2132's corpus on
main. Distinct bug split out of the behavioral tail.