Commit 1a7a88b
authored
refactor: remove Endpoint::path_selection (#3668)
## Description
Remove the test-only `Endpoint::path_selection` API and instead use
`Endpoint::clear_ip_transports` for `PathSelection::RelayOnly `, now
that this public API was added in
#3651.
## Breaking Changes
<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->
## Notes & open questions
<!-- Any notes, remarks or open questions you have to make about the PR.
-->
## Change checklist
<!-- Remove any that are not relevant. -->
- [ ] Self-review.
- [ ] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [ ] Tests if relevant.
- [ ] All breaking changes documented.
- [ ] List all breaking changes in the above "Breaking Changes" section.
- [ ] Open an issue or PR on any number0 repos that are affected by this
breaking change. Give guidance on how the updates should be handled or
do the actual updates themselves. The major ones are:
- [ ] [`quic-rpc`](https://github.com/n0-computer/quic-rpc)
- [ ] [`iroh-gossip`](https://github.com/n0-computer/iroh-gossip)
- [ ] [`iroh-blobs`](https://github.com/n0-computer/iroh-blobs)
- [ ] [`dumbpipe`](https://github.com/n0-computer/dumbpipe)
- [ ] [`sendme`](https://github.com/n0-computer/sendme)1 parent 7f17d98 commit 1a7a88b
File tree
6 files changed
+9
-71
lines changed- iroh
- bench/src
- examples
- src
- magicsock
- endpoint_map
6 files changed
+9
-71
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
| |||
95 | 93 | | |
96 | 94 | | |
97 | 95 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
103 | 99 | | |
104 | 100 | | |
105 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
| 245 | + | |
255 | 246 | | |
256 | 247 | | |
257 | 248 | | |
| |||
280 | 271 | | |
281 | 272 | | |
282 | 273 | | |
283 | | - | |
| 274 | + | |
284 | 275 | | |
285 | 276 | | |
286 | 277 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 84 | | |
97 | 85 | | |
98 | 86 | | |
| |||
113 | 101 | | |
114 | 102 | | |
115 | 103 | | |
116 | | - | |
117 | | - | |
118 | 104 | | |
119 | 105 | | |
120 | 106 | | |
| |||
176 | 162 | | |
177 | 163 | | |
178 | 164 | | |
179 | | - | |
180 | | - | |
181 | 165 | | |
182 | 166 | | |
183 | 167 | | |
| |||
224 | 208 | | |
225 | 209 | | |
226 | 210 | | |
227 | | - | |
228 | | - | |
229 | 211 | | |
230 | 212 | | |
231 | 213 | | |
| |||
471 | 453 | | |
472 | 454 | | |
473 | 455 | | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | 456 | | |
483 | 457 | | |
484 | 458 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | 56 | | |
59 | 57 | | |
60 | 58 | | |
| |||
136 | 134 | | |
137 | 135 | | |
138 | 136 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | 137 | | |
144 | 138 | | |
145 | 139 | | |
| |||
936 | 930 | | |
937 | 931 | | |
938 | 932 | | |
939 | | - | |
940 | | - | |
941 | 933 | | |
942 | 934 | | |
943 | 935 | | |
| |||
1026 | 1018 | | |
1027 | 1019 | | |
1028 | 1020 | | |
1029 | | - | |
1030 | | - | |
1031 | 1021 | | |
1032 | 1022 | | |
1033 | 1023 | | |
| |||
1856 | 1846 | | |
1857 | 1847 | | |
1858 | 1848 | | |
1859 | | - | |
1860 | | - | |
1861 | | - | |
| 1849 | + | |
1862 | 1850 | | |
1863 | 1851 | | |
1864 | | - | |
1865 | 1852 | | |
1866 | 1853 | | |
1867 | 1854 | | |
| |||
1883 | 1870 | | |
1884 | 1871 | | |
1885 | 1872 | | |
1886 | | - | |
1887 | 1873 | | |
1888 | 1874 | | |
1889 | 1875 | | |
| |||
2319 | 2305 | | |
2320 | 2306 | | |
2321 | 2307 | | |
2322 | | - | |
2323 | 2308 | | |
2324 | 2309 | | |
2325 | 2310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
69 | 67 | | |
70 | 68 | | |
71 | 69 | | |
72 | | - | |
73 | | - | |
74 | 70 | | |
75 | 71 | | |
76 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 38 | | |
43 | 39 | | |
44 | 40 | | |
| |||
0 commit comments