|
return nil, fmt.Errorf("live token is no longer valid") |
|
} |
|
c := &http.Client{ |
|
Transport: &http.Transport{ |
|
TLSClientConfig: &tls.Config{ |
|
Renegotiation: tls.RenegotiateOnceAsClient, |
|
InsecureSkipVerify: true, |
|
}, |
|
}, |
|
} |
|
defer c.CloseIdleConnections() |
This is considered bad practice / security flaw
I believe on Android it's causing devices to block the request, not completely sure, but I don't think it's needed?
gophertunnel/minecraft/auth/xbox.go
Lines 45 to 55 in fdd82ea
This is considered bad practice / security flaw
I believe on Android it's causing devices to block the request, not completely sure, but I don't think it's needed?