ClientHelloInfo is how callbacks make decisions on how to treat an incoming connection, which is becoming very powerful with https://golang.org/cl/30790/
As mentioned in #16066 (comment) it would be useful to have some more information in there.
The Cloudflare fork exposes Version, SignatureSchemes and LocalAddr. RemoteAddr seems fitting for completeness. ALPNProtocols as asked in #16066.
Looking at clientHelloMsg, only session resumption information, ocspStapling and scts are left, for which I can't think of a use case.
ClientHelloInfo is how callbacks make decisions on how to treat an incoming connection, which is becoming very powerful with https://golang.org/cl/30790/
As mentioned in #16066 (comment) it would be useful to have some more information in there.
The Cloudflare fork exposes Version, SignatureSchemes and LocalAddr. RemoteAddr seems fitting for completeness. ALPNProtocols as asked in #16066.
Looking at clientHelloMsg, only session resumption information, ocspStapling and scts are left, for which I can't think of a use case.