This commit is contained in:
hebo
2019-09-06 21:21:45 +08:00
parent 0506fa2f63
commit c7833a9df7
4 changed files with 121 additions and 45 deletions

View File

@@ -267,8 +267,6 @@ func readFromServerPackage(
sessionKey := spliceSessionKey(srcIP, srcPort)
session := sessionPool[*sessionKey]
if session != nil {
// session.readFromServer(tcpPayload)
// qp = session.GenerateQueryPiece()
pkt := model.NewTCPPacket(tcpPayload, int64(tcpPkt.Ack), false)
session.ReceiveTCPPacket(pkt)
}