Commit efebc8f
committed
param: Move alias resolution before protected check
Instead of resolving tweaks when the function is called, this is now
done in the MGT code performing the protected check. Since aliases may
be used to reset a single bit of another parameter (namely vcc_feature)
the default value is looked up before the alias resolution.
Unfortunately, that also means resolving deprecated aliases before
showing them to the user, adding a little bit of duplicated logic.
Refs #43231 parent 7d6cfa3 commit efebc8f
File tree
3 files changed
+46
-17
lines changed- bin
- varnishd/mgt
- varnishtest/tests
3 files changed
+46
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
158 | 170 | | |
159 | 171 | | |
160 | 172 | | |
| |||
253 | 265 | | |
254 | 266 | | |
255 | 267 | | |
| 268 | + | |
256 | 269 | | |
257 | 270 | | |
258 | 271 | | |
| |||
285 | 298 | | |
286 | 299 | | |
287 | 300 | | |
288 | | - | |
289 | | - | |
290 | | - | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
291 | 308 | | |
292 | 309 | | |
293 | 310 | | |
| |||
385 | 402 | | |
386 | 403 | | |
387 | 404 | | |
| 405 | + | |
388 | 406 | | |
389 | 407 | | |
390 | 408 | | |
| |||
422 | 440 | | |
423 | 441 | | |
424 | 442 | | |
425 | | - | |
426 | | - | |
427 | | - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
428 | 450 | | |
429 | 451 | | |
430 | 452 | | |
| |||
544 | 566 | | |
545 | 567 | | |
546 | 568 | | |
| 569 | + | |
547 | 570 | | |
548 | 571 | | |
549 | 572 | | |
| |||
559 | 582 | | |
560 | 583 | | |
561 | 584 | | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
562 | 591 | | |
563 | 592 | | |
564 | 593 | | |
565 | 594 | | |
566 | 595 | | |
567 | | - | |
568 | | - | |
569 | 596 | | |
570 | 597 | | |
571 | 598 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | | - | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
626 | 622 | | |
627 | 623 | | |
628 | 624 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments