Repository navigation
Commit f4649b0
committed
Complete HTTP problem responses before rejecting unread bodies
Serialize shared error responses once with the existing JSON options, set their UTF-8 content length, and complete the response before request teardown. Preserve the status, problem contract, cancellation, and request limits.
Assert complete framing for real declared-length and chunked oversized requests while retaining healthy same-command-ID controls. Save standard native DCP diagnostics per cluster lane to diagnose resource-creation failures.
Verified: full default Debug solution build with -warnaserror; format and format verification; 421 focused functional tests; real body-limit cluster case (old writer red, fixed writer green); seven compiled-inventory checks; repository governance and exact shard partition.1 parent e6b771e commit f4649b0
3 files changed
Lines changed: 14 additions & 5 deletions
File tree
- scripts/Features/TestInfrastructure
- src/KeyLoad/ClientApi/Hosting
- tests/KeyLoad.ClusterTests/ResourceExecution/Cases
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
50 | 56 | | |
51 | 57 | | |
52 | 58 | | |
53 | | - | |
| 59 | + | |
54 | 60 | | |
55 | 61 | | |
56 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| 44 | + | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
0 commit comments