Skip to content

Commit 702ff26

Browse files
committed
fix: 将关闭Socket的变量名从xhttpBridge更改为叉桥,以提高代码可读性
1 parent bd39387 commit 702ff26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ function 处理叉HTTPUDP请求(首包, reader, request, 反代上下文, respon
745745
const 保持木马UDP反代下行 = !转发失败 && 首包.协议 === 'trojan' && 木马UDP上下文.反代地址 && 木马UDP上下文.反代Socket;
746746
if (!保持木马UDP反代下行) {
747747
try { 木马UDP上下文.反代Socket?.close() } catch (e) { }
748-
closeSocketQuietly(xhttpBridge);
748+
closeSocketQuietly(叉桥);
749749
}
750750
try { reader.releaseLock() } catch (e) { }
751751
}

0 commit comments

Comments
 (0)