Commit 8e606f3
committed
fix(sandbox-backend): raise control frame limit to 2 MiB
The default macOS system CA bundle (~334 KB) inflates ~3.3x under
serde's JSON byte-array encoding, pushing StartAgent past the 1 MiB
MAX_CONTROL_FRAME_BYTES limit and failing every VM-backed sandbox
create.
Add a test that round-trips a 400 KB CA bundle through the frame
encoder to pin the invariant.
Closes #3453
Signed-off-by: Florent Benoit <fbenoit@redhat.com>1 parent 8bd3dcc commit 8e606f3
1 file changed
Lines changed: 30 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
1330 | 1330 | | |
1331 | 1331 | | |
1332 | 1332 | | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
1333 | 1362 | | |
1334 | 1363 | | |
1335 | 1364 | | |
| |||
0 commit comments