fix(cmpp): preserve inbound window after message registration

This commit is contained in:
hectorzhao
2026-08-20 12:08:49 +08:00
parent 0757a699ff
commit e9c73333b3
4 changed files with 20 additions and 1 deletions
+2
View File
@@ -169,6 +169,8 @@ func (s Server) handleSubmit(response *cmpp.Response, packet *cmpp.Packet, logge
applicationID: result.ApplicationID,
enterpriseCode: session.enterpriseCode,
protocol: clientProtocol,
windowSize: session.windowSize,
submitInFlight: session.submitInFlight,
srcID: strings.TrimSpace(req.srcID),
phoneNumber: acceptedPhone,
gatewayMsgID: gatewayMsgID,