Repository navigation
Commit 8912491
fix(fetch): count the connect-time lookup against the connect timeout
The pinned backend's lookup ran before the connect timer started, so a
stalled resolution could outlast the configured timeout. The lookup is now
bounded by it, reported as a ConnectTimeout, and the attempts get what it
left. Also give a timing test several ticks of Windows' coarse clock.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>1 parent c2a9b01 commit 8912491
2 files changed
Lines changed: 34 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
86 | 90 | | |
87 | | - | |
| 91 | + | |
88 | 92 | | |
89 | 93 | | |
90 | 94 | | |
| 95 | + | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
94 | 100 | | |
95 | | - | |
96 | | - | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
747 | 747 | | |
748 | 748 | | |
749 | 749 | | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
750 | 774 | | |
751 | 775 | | |
752 | 776 | | |
| |||
775 | 799 | | |
776 | 800 | | |
777 | 801 | | |
778 | | - | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
779 | 805 | | |
780 | 806 | | |
781 | 807 | | |
| |||
0 commit comments