DialContext doesn't give back TLS information
Author: mdoschCreated Aug 16, 2025Updated Sep 6, 2025
Dear devs,
thank you for providing this library, however, I have an issue:
I have an TLS encrypted connection, but the response of DialContext() doesn't provide this informations as resp.TLS is always nil. :(
Here I dial: https://salsa.debian.org/mdosch/xmpp-dns/-/blob/gorilla/main.go#L956 There it is always nil: https://salsa.debian.org/mdosch/xmpp-dns/-/blob/gorilla/main.go#L1007
Best regards, Martin
Source: gorilla/websocket