修改dtls加密套件

This commit is contained in:
bjdgyc
2023-10-17 16:30:45 +08:00
parent 43ca09e985
commit a9ad21b3b5
3 changed files with 8 additions and 10 deletions

View File

@@ -92,9 +92,9 @@ func LinkTunnel(w http.ResponseWriter, r *http.Request) {
base.Debug(cSess.IpAddr, cSess.MacHw, sess.Username, mobile)
//检测密码套件
// 检测密码套件
dtlsCiphersuite := checkDtls12Ciphersuite(r.Header.Get("X-Dtls12-Ciphersuite"))
base.Debug("dtlsCiphersuite", dtlsCiphersuite)
base.Trace("dtlsCiphersuite", dtlsCiphersuite)
// 压缩
if cmpName, ok := cSess.SetPickCmp("cstp", r.Header.Get("X-Cstp-Accept-Encoding")); ok {