flowcontrol: reset the connection send window when 0-RTT is rejected (#4764)

This commit is contained in:
Marten Seemann
2024-12-22 11:36:14 +08:00
committed by GitHub
parent 95998056d5
commit a584e58099
3 changed files with 105 additions and 30 deletions

View File

@@ -106,5 +106,6 @@ func (c *connectionFlowController) Reset() error {
}
c.bytesSent = 0
c.lastBlockedAt = 0
c.sendWindow = 0
return nil
}