Commit fd8ec96
TASK-052: address post-completion second-pass review findings
Resolves 30 of 34 minor findings from the 2026-05-27_010619 review pass.
The 1 critical finding was a false positive (files exist since TASK-050).
3 minor findings are deferred (tooling timestamp, bench measurement order,
warmup count change).
Changes:
- README.md: reorder Phases table to canonical firing order
(connection_closed moved from row 3 to last row)
- RELEASE_NOTES.md: reorder hook-bus phase list to canonical order
- examples/per_route_auth.cpp: fail closed on null request (CWE-636);
add TRANSPORT NOTE (CWE-523) and CONSTANT-TIME NOTE (CWE-208)
- src/httpserver/hook_context.hpp: consolidate mixed // and /** */
doc styles for accept_ctx, body_chunk_ctx, before_handler_ctx,
response_sent_ctx, and request_completed_ctx into Doxygen blocks
- test/bench_hook_overhead.cpp: rename median_of_sorted to sort_and_median
(makes mutation explicit); add precondition comment to p99_of_sorted;
add warmup rationale comment; document absolute-ceiling gating strategy
- test/integ/threadsafety_stress.cpp: fix HookBag comment; collapse
noop_resource return; add phase-count tie comment; add O(n) note on
erase; case 5 now uses move+pop_back+remove pattern (mirrors case 4);
split combined sum assertions into individual per-counter checks
- specs/unworked_review_issues/2026-05-27_010619_task-052.md: mark
resolved items [x] with clarifying notes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 25adf48 commit fd8ec96
7 files changed
Lines changed: 265 additions & 235 deletions
File tree
- examples
- specs/unworked_review_issues
- src/httpserver
- test
- integ
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1534 | 1534 | | |
1535 | 1535 | | |
1536 | 1536 | | |
1537 | | - | |
1538 | 1537 | | |
1539 | 1538 | | |
1540 | 1539 | | |
| |||
1543 | 1542 | | |
1544 | 1543 | | |
1545 | 1544 | | |
| 1545 | + | |
1546 | 1546 | | |
1547 | 1547 | | |
1548 | 1548 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
21 | 31 | | |
22 | 32 | | |
23 | 33 | | |
| |||
81 | 91 | | |
82 | 92 | | |
83 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
84 | 98 | | |
85 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
86 | 102 | | |
87 | 103 | | |
88 | 104 | | |
| |||
0 commit comments