mirror of
https://github.com/snltty/linker.git
synced 2025-10-27 19:10:27 +08:00
池化
This commit is contained in:
@@ -44,7 +44,7 @@ namespace linker.tun
|
|||||||
|
|
||||||
fixed (byte* pptr = fakeBuffer.Span)
|
fixed (byte* pptr = fakeBuffer.Span)
|
||||||
{
|
{
|
||||||
ushort win = (ushort)Math.Max(Math.Min(bufferFree / state.WindowScale, 65535), 8);
|
ushort win = (ushort)Math.Max(Math.Min(bufferFree*0.8 / state.WindowScale, 32*1024), 4);
|
||||||
fakeLength = originPacket.ToAck(state.Seq, win, pptr);
|
fakeLength = originPacket.ToAck(state.Seq, win, pptr);
|
||||||
if (new FakeAckPacket(pptr).Cq <= state.Cq)
|
if (new FakeAckPacket(pptr).Cq <= state.Cq)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
v1.9.1
|
v1.9.1
|
||||||
2025-09-17 17:32:33
|
2025-09-17 18:03:28
|
||||||
1. 一些累计更新
|
1. 一些累计更新
|
||||||
2. 服务器转发多节点
|
2. 服务器转发多节点
|
||||||
3. 虚拟网卡下伪造ACK为TCP-in-TCP隧道提速
|
3. 虚拟网卡下伪造ACK为TCP-in-TCP隧道提速
|
||||||
|
|||||||
Reference in New Issue
Block a user