qing
9256a8157b
fix(db2): add numeric config range validation (fix P2-3/P3-8)
- Add range checks in load_config() for all numeric config values:
* listen_port: 1-65535
* workers: >= 1
* cleanup_interval: >= 1 (prevents busy loop DoS when misconfigured to 0/negative)
* retention_days: >= 0
* max_records: >= 1
- Fix unused lambda capture 'this' in RpcServer error handler
(-Wunused-lambda-capture with -Wall -Werror)
- Update security audit doc: mark P2-3/P3-8 fixed, mark production ready
Verified: g++ -std=c++20 -O3 -Wall -Werror compiles with zero warnings.