Skip to content

client: copy TLS state onto DialContext response - #1029

Open
team-humaki wants to merge 1 commit into
gorilla:mainfrom
team-humaki:client-set-resp-tls
Open

team-humaki wants to merge 1 commit into
gorilla:mainfrom
team-humaki:client-set-resp-tls

Conversation

@team-humaki

Copy link
Copy Markdown

Fixes #996

http.ReadResponse does not populate resp.TLS. Copy ConnectionState from the handshake conn so wss Dial/DialContext returns it, matching net/http.

@jack-flippen

Copy link
Copy Markdown

See also #967. Pick that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DialContext doesn't give back TLS information

2 participants