Repository navigation
Commit 4bd4f72
fix(connection): keep the post-wake retry through an offline period
A long wake armed the one 3 second retry, but the offline branch cleared
it, so when the socket died with the network the first attempt after the
network came back had no retry and could wait out the full setup timeout.
A long wake received while already offline or blocked never armed it.
The offline branch now leaves the flag alone, and waiting there or while
blocked arms it on a long wake, as waiting in backoff already did. An
explicit disconnect and a healthy probe still clear it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 77f057c commit 4bd4f72
2 files changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
| 553 | + | |
| 554 | + | |
553 | 555 | | |
554 | 556 | | |
555 | 557 | | |
| |||
570 | 572 | | |
571 | 573 | | |
572 | 574 | | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
573 | 582 | | |
574 | 583 | | |
575 | 584 | | |
576 | 585 | | |
| 586 | + | |
577 | 587 | | |
578 | 588 | | |
579 | 589 | | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
580 | 595 | | |
581 | 596 | | |
582 | 597 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1115 | 1115 | | |
1116 | 1116 | | |
1117 | 1117 | | |
| 1118 | + | |
1118 | 1119 | | |
1119 | 1120 | | |
1120 | 1121 | | |
| |||
1148 | 1149 | | |
1149 | 1150 | | |
1150 | 1151 | | |
1151 | | - | |
1152 | 1152 | | |
1153 | 1153 | | |
1154 | 1154 | | |
| |||
0 commit comments