MCPcopy Create free account
hub / github.com/Moli-X/Resources / ALPN_Handle

Function ALPN_Handle

Script/Parser.js:895–901  ·  view source on GitHub ↗
(cnt,palpn)

Source from the content-addressed store, hash-verified

893
894// 指定alpn参数,over-tls类型?
895function ALPN_Handle(cnt,palpn) {
896 cnti = cnt.replace(/\s/gmi,"") //删掉空格
897 if (cnti.indexOf("obfs=over-tls") != -1 || cnti.indexOf("over-tls=true")!=-1) {
898 cnt = cnt + ", tls-alpn="+palpn
899 }
900 return cnt
901}
902
903function Mock2QXReject(row, filename) {
904 if (/dict/i.test(filename)) {

Callers 1

Subs2QXFunction · 0.85

Calls 1

indexOfMethod · 0.45

Tested by

no test coverage detected