utls
utls copied to clipboard
feat: support PSK after receiving HelloRetryRequest (HRR)
Currently there is no proper support for PSK if server sends a Hello Retry Request asking uTLS to switch to a different Key Share that is supported but not sent by default:
https://github.com/refraction-networking/utls/blob/841ef93712800db68a8789b28e70af2b4da1960e/handshake_client_tls13.go#L413-L416
This pull request adds support to handle PSK after seeing HRR.