mirror of
https://github.com/wweir/sower.git
synced 2026-10-20 16:17:32 +00:00
A handshake failure on unknown SNI is an active-probing signal: real sites present their default vhost certificate. Whitelisted names keep the plain autocert path with errors surfaced as-is; unknown or empty SNI falls back to the primary domain's certificate, carrying the client hello over so autocert derives the same ECDSA/RSA cache key. The h2-on-fallback companion idea was investigated and rejected: httputil.ReverseProxy has no RFC 8441 support and x/net gates extended CONNECT behind GODEBUG only, which would break WingGate WSS.