Commit 1eb822f
authored
see linkerd/linkerd2#8733.
pr #3559 introduced some compatibility facilities to allow us to write
code in terms of `http_body_util::BodyExt::frame()`, front-running the
upgrade to be performed in #3504.
some `ReplayBody` tests use the defunct `data()` and `trailers()`
interfaces. this branch ports _two_ such unit tests. other tests are
saved for a fast follow-on, as the `chunk(..)` and `read_to_string(..)`
helpers will need some slightly more involved tweaks.
dd4fbcd
---
* refactor(http/retry): `replays_trailers()` uses `Frame<T>`
see linkerd/linkerd2#8733.
this commit upgrades a test that uses defunct `data()` and `trailers()`
futures.
Signed-off-by: katelyn martin <[email protected]>
* refactor(http/retry): `trailers_only()` uses `Frame<T>`
see linkerd/linkerd2#8733.
this commit upgrades a test that uses defunct `data()` and `trailers()`
futures.
Signed-off-by: katelyn martin <[email protected]>
---------
Signed-off-by: katelyn martin <[email protected]>
1 parent 0484917 commit 1eb822f
1 file changed
+45
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
551 | | - | |
| 550 | + | |
| 551 | + | |
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
| |||
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
568 | 582 | | |
569 | | - | |
570 | | - | |
| 583 | + | |
| 584 | + | |
571 | 585 | | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
| 586 | + | |
| 587 | + | |
577 | 588 | | |
578 | 589 | | |
579 | 590 | | |
580 | 591 | | |
581 | 592 | | |
582 | 593 | | |
583 | | - | |
584 | | - | |
| 594 | + | |
| 595 | + | |
585 | 596 | | |
586 | 597 | | |
| 598 | + | |
| 599 | + | |
587 | 600 | | |
588 | 601 | | |
589 | 602 | | |
| |||
593 | 606 | | |
594 | 607 | | |
595 | 608 | | |
596 | | - | |
597 | | - | |
598 | | - | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
599 | 617 | | |
600 | 618 | | |
601 | 619 | | |
602 | 620 | | |
603 | | - | |
604 | | - | |
605 | | - | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
606 | 629 | | |
607 | 630 | | |
608 | 631 | | |
| |||
0 commit comments