response: Remove TLS field

This commit is contained in:
Adnan Maolood
2021-02-23 15:28:50 -05:00
parent eee7156b3a
commit 62e22b4cf2
2 changed files with 0 additions and 11 deletions

View File

@@ -149,12 +149,6 @@ func (c *Client) do(conn net.Conn, req *Request) (*Response, error) {
return nil, err
}
// Store TLS connection state
if tlsConn, ok := conn.(*tls.Conn); ok {
state := tlsConn.ConnectionState()
resp.TLS = &state
}
return resp, nil
}