items and struture loading

This commit is contained in:
adman
2026-03-12 23:13:25 +01:00
parent 047c4d02ff
commit e0cf1834f1
7 changed files with 124 additions and 12 deletions
+1 -1
View File
@@ -165,9 +165,9 @@ func (c *Conn) ActivateReceiveRoutine() {
if c.receiveRoutine {
return
}
c.receiveRoutine = true
c.packetCh = make(chan proto_base.EncodeDecodeAble, 100) // i dunno how many to buffer 100 seems reasonable
go c.ReceiveJob()
c.receiveRoutine = true
}
func (c *Conn) translatePacketVersion(packet proto_base.EncodeDecodeAble, packetInfo proto_base.PacketInfo) (convertedPacket proto_base.EncodeDecodeAble, err error) {