Commit 8c8b397
committed
feat(command-dump): add REDIRECT control frame support
Capture the engine's REDIRECT frame (type id 0x40000005, introduced
in #1755) in the dump command's pcap output and surface it in the
zilla.lua Wireshark dissector. Like RESET, REDIRECT terminates the
stream, so it is mapped to a TCP PSH segment. Like BEGIN, the frame
carries an int64 affinity and a round-tripped extension, so each
binding's extension dissector treats REDIRECT the same as BEGIN.
Adds k3po scripts for the client-sent redirect scenario; the IT method
is wired but @ignore'd until its tshark-generated expected fixture is
regenerated on a docker-enabled host.
https://claude.ai/code/session_01K4wd5z8Ejgq4ejTsmL88oh1 parent b162be1 commit 8c8b397
5 files changed
Lines changed: 117 additions & 8 deletions
File tree
- incubator/command-dump/src
- main
- java/io/aklivity/zilla/runtime/command/dump/internal/airline
- resources/io/aklivity/zilla/runtime/command/dump/internal/airline
- scripts/io/aklivity/zilla/runtime/command/dump/binding/ws/streams/application/advise/client.sent.redirect
- test/java/io/aklivity/zilla/runtime/command/dump/internal
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
| 220 | + | |
219 | 221 | | |
220 | 222 | | |
221 | 223 | | |
| |||
225 | 227 | | |
226 | 228 | | |
227 | 229 | | |
| 230 | + | |
228 | 231 | | |
229 | 232 | | |
230 | 233 | | |
| |||
595 | 598 | | |
596 | 599 | | |
597 | 600 | | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
598 | 604 | | |
599 | 605 | | |
600 | 606 | | |
| |||
740 | 746 | | |
741 | 747 | | |
742 | 748 | | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
743 | 764 | | |
744 | 765 | | |
745 | 766 | | |
| |||
Lines changed: 21 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
867 | 868 | | |
868 | 869 | | |
869 | 870 | | |
| 871 | + | |
| 872 | + | |
870 | 873 | | |
871 | 874 | | |
872 | 875 | | |
| |||
876 | 879 | | |
877 | 880 | | |
878 | 881 | | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
879 | 888 | | |
880 | 889 | | |
881 | 890 | | |
| |||
974 | 983 | | |
975 | 984 | | |
976 | 985 | | |
| 986 | + | |
977 | 987 | | |
978 | 988 | | |
979 | 989 | | |
| |||
1280 | 1290 | | |
1281 | 1291 | | |
1282 | 1292 | | |
1283 | | - | |
| 1293 | + | |
| 1294 | + | |
1284 | 1295 | | |
1285 | 1296 | | |
1286 | 1297 | | |
| |||
1311 | 1322 | | |
1312 | 1323 | | |
1313 | 1324 | | |
1314 | | - | |
| 1325 | + | |
1315 | 1326 | | |
1316 | 1327 | | |
1317 | 1328 | | |
| |||
1464 | 1475 | | |
1465 | 1476 | | |
1466 | 1477 | | |
1467 | | - | |
| 1478 | + | |
1468 | 1479 | | |
1469 | 1480 | | |
1470 | 1481 | | |
| |||
1521 | 1532 | | |
1522 | 1533 | | |
1523 | 1534 | | |
1524 | | - | |
| 1535 | + | |
1525 | 1536 | | |
1526 | 1537 | | |
1527 | 1538 | | |
| |||
1629 | 1640 | | |
1630 | 1641 | | |
1631 | 1642 | | |
1632 | | - | |
| 1643 | + | |
| 1644 | + | |
1633 | 1645 | | |
1634 | 1646 | | |
1635 | 1647 | | |
1636 | 1648 | | |
1637 | | - | |
| 1649 | + | |
1638 | 1650 | | |
1639 | 1651 | | |
1640 | 1652 | | |
| |||
2046 | 2058 | | |
2047 | 2059 | | |
2048 | 2060 | | |
2049 | | - | |
| 2061 | + | |
| 2062 | + | |
2050 | 2063 | | |
2051 | 2064 | | |
2052 | 2065 | | |
2053 | 2066 | | |
2054 | | - | |
| 2067 | + | |
2055 | 2068 | | |
2056 | 2069 | | |
2057 | 2070 | | |
| |||
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
52 | 63 | | |
0 commit comments