nps-mux
nps-mux copied to clipboard
[bug]: panic: runtime error: slice bounds out of range [90:72]
nps[19933]: panic: runtime error: slice bounds out of range [90:72] nps[19933]: goroutine 1050459 [running]: nps[19933]: ehang.io/nps-mux.(*sendWindow).WriteTo(0xc000818480, 0xc000341e20, 0x14, 0x1, 0xc000521548, 0x4042d0, 0xc000521728) nps[19933]: /home/runner/go/pkg/mod/ehang.io/[email protected]/conn.go:554 +0x2f2 nps[19933]: ehang.io/nps-mux.(*sendWindow).WriteFull(0xc000818480, 0xc000735100, 0x48, 0x688, 0xc0000002be, 0x40a37f, 0xc000010000, 0xaa0b00) nps[19933]: /home/runner/go/pkg/mod/ehang.io/[email protected]/conn.go:608 +0x8e nps[19933]: ehang.io/nps-mux.(*conn).Write(0xc000a69b30, 0xc000735100, 0x48, 0x688, 0xc000521638, 0x40b905, 0xaa0b00) nps[19933]: /home/runner/go/pkg/mod/ehang.io/[email protected]/conn.go:63 +0x8e nps[19933]: ehang.io/nps/lib/rate.(*rateConn).Write(0xc000ad41a0, 0xc000735100, 0x48, 0x688, 0xc000ad41a0, 0x1, 0xc0005216e8) nps[19933]: /home/runner/work/nps/nps/lib/rate/conn.go:28 +0x55 nps[19933]: ehang.io/nps/server/proxy.(*UdpModeServer).process(0xc000490bd0, 0xc00011ac00, 0xc000735100, 0x48, 0x688) nps[19933]: /home/runner/work/nps/nps/server/proxy/udp.go:59 +0x8e3 nps[19933]: created by ehang.io/nps/server/proxy.(*UdpModeServer).Start nps[19933]: /home/runner/work/nps/nps/server/proxy/udp.go:50 +0x2cc