Commit ac44e96
authored
xds: Remove isXdsSniEnabled and align SNI logic with gRFC A101 (#12625)
## Description
Remove the `isXdsSniEnabled` (GRPC_EXPERIMENTAL_XDS_SNI) guard so that
SNI determination via xDS is always enabled. This aligns the behavior
with
**gRFC A101**, where SNI is determined by xDS configurations such as
`auto_host_sni` or `UpstreamTlsContext.sni`, without relying on an
experimental toggle.
This change does **not** remove the
`GRPC_USE_CHANNEL_AUTHORITY_IF_NO_SNI_APPLICABLE` fallback logic, which
remains unchanged.
## Changes
- Remove the `isXdsSniEnabled` flag and the related conditional logic.
- Remove test cases that specifically covered behavior when the
experimental flag was disabled, since the flag is no longer supported.
Ref #117841 parent 4f2b110 commit ac44e96
File tree
5 files changed
+128
-190
lines changed- xds/src
- main/java/io/grpc/xds/internal/security
- trust
- test/java/io/grpc/xds
- internal/security
5 files changed
+128
-190
lines changedLines changed: 9 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
229 | 225 | | |
230 | | - | |
| 226 | + | |
231 | 227 | | |
232 | | - | |
233 | 228 | | |
234 | 229 | | |
| 230 | + | |
235 | 231 | | |
236 | 232 | | |
237 | 233 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| |||
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
| |||
317 | 316 | | |
318 | 317 | | |
319 | 318 | | |
320 | | - | |
321 | 319 | | |
322 | 320 | | |
323 | 321 | | |
| |||
341 | 339 | | |
342 | 340 | | |
343 | 341 | | |
344 | | - | |
345 | 342 | | |
346 | 343 | | |
347 | 344 | | |
348 | 345 | | |
349 | 346 | | |
350 | 347 | | |
351 | | - | |
352 | 348 | | |
353 | 349 | | |
354 | 350 | | |
| |||
375 | 371 | | |
376 | 372 | | |
377 | 373 | | |
378 | | - | |
379 | 374 | | |
380 | 375 | | |
381 | 376 | | |
382 | 377 | | |
383 | 378 | | |
384 | 379 | | |
385 | | - | |
386 | 380 | | |
387 | 381 | | |
388 | 382 | | |
| |||
406 | 400 | | |
407 | 401 | | |
408 | 402 | | |
409 | | - | |
410 | 403 | | |
411 | 404 | | |
412 | 405 | | |
| |||
0 commit comments