@@ -816,7 +816,7 @@ function 开始TCP连接世代(remoteConnWrapper) {
816816}
817817
818818async function 读取叉HTTP首包 ( reader , token ) {
819- const decoder = VLESS文本解码器 ;
819+ const decoder = 魏烈思文本解码器 ;
820820
821821 const 尝试解析魏烈思首包 = ( data ) => {
822822 const length = data . byteLength ;
@@ -1334,7 +1334,7 @@ async function 处理WS请求(request, yourUUID, url, 反代上下文 = {}) {
13341334 while ( WS本地测速请求缓存 . byteLength ) {
13351335 const headerEnd = 查找HTTP请求头结尾 ( WS本地测速请求缓存 ) ;
13361336 if ( headerEnd === - 1 ) return ;
1337- const headerText = VLESS文本解码器 . decode ( WS本地测速请求缓存 . subarray ( 0 , headerEnd ) ) ;
1337+ const headerText = 魏烈思文本解码器 . decode ( WS本地测速请求缓存 . subarray ( 0 , headerEnd ) ) ;
13381338 const contentLengthMatch = headerText . match ( / (?: ^ | \r \n ) c o n t e n t - l e n g t h \s * : \s * ( \d + ) / i) ;
13391339 const contentLength = contentLengthMatch ? Number ( contentLengthMatch [ 1 ] ) : 0 ;
13401340 const requestLength = headerEnd + contentLength ;
@@ -1922,7 +1922,7 @@ function 解析木马请求(buffer, passwordPlainText) {
19221922}
19231923
19241924const UUID字节缓存 = new Map ( ) ;
1925- const VLESS文本解码器 = new TextDecoder ( ) ;
1925+ const 魏烈思文本解码器 = new TextDecoder ( ) ;
19261926
19271927function 读取十六进制半字节 ( code ) {
19281928 if ( code >= 48 && code <= 57 ) return code - 48 ;
@@ -1991,7 +1991,7 @@ function 解析魏烈思请求(chunk, token) {
19911991 addrLen = data [ addrValIdx ] ;
19921992 addrValIdx += 1 ;
19931993 if ( length < addrValIdx + addrLen ) return { hasError : true , message : 'Invalid domain data' } ;
1994- hostname = VLESS文本解码器 . decode ( data . subarray ( addrValIdx , addrValIdx + addrLen ) ) ;
1994+ hostname = 魏烈思文本解码器 . decode ( data . subarray ( addrValIdx , addrValIdx + addrLen ) ) ;
19951995 break ;
19961996 case 3 :
19971997 addrLen = 16 ;
0 commit comments