Commit 0c1e042
authored
Fix a repeated sending of RETIRE_CONN_ID (#6048)
## Description
This pull request makes a targeted change to the logic for updating the
destination connection ID (CID) in `src/core/send.c`. The update ensures
that a CID update is only initiated if one hasn't already been started
for the current path.
Connection ID update logic improvement:
* Modified the condition in `QuicSendFlush` to check that
`Path->InitiatedCidUpdate` is `FALSE` before initiating a destination
CID update, and sets it to `TRUE` after the update is initiated. This
prevents repeated or redundant CID updates for the same path.
## Testing
_Do any existing tests cover this change? Are new tests needed?_
No
## Documentation
_Is there any documentation impact for this change?_
No1 parent 067f3d3 commit 0c1e042
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1248 | 1248 | | |
1249 | 1249 | | |
1250 | 1250 | | |
1251 | | - | |
1252 | | - | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
1253 | 1256 | | |
1254 | 1257 | | |
1255 | 1258 | | |
| |||
0 commit comments