Expand description
Minimal HTTP server for RedDB management and remote access.
Modules§
- handlers_
admin - Lifecycle / admin HTTP endpoints (PLAN.md Phase 1).
- header_
escape_ guard HeaderEscapeGuard— typed boundary guard for HTTP response header values.- http_
connection_ limiter - Bounded handler-thread admission for the clear-text HTTP accept loop.
- http_
handler_ metrics - Prometheus metrics for the HTTP handler-thread pool.
- http_
limits - Resolution of the three HTTP handler-pool knobs (issue #574 slice 5).
- ingest_
pipeline - JSON-first ingest pipeline — autodetects JSON-array bodies,
NDJSON streams, and envelope-style payloads, then hands the
rows over to the storage layer as a
Vec<HashMap<String, Value>>. - tls
- HTTP TLS termination for the embedded HTTP server.
Structs§
- Http
Limits CliInput - CLI-layer input. Each pair holds the already-validated value coming
from a flag and from an env var, respectively. The resolver applies
the
flag > red_config > env > defaultprecedence using these inputs plus a config-store lookup. - Http
Limits Resolved - Resolved values after applying the full precedence chain. Stamped
into both the
RedDBServerand the startup log line. - RedDB
Server - Server
Options - Server
Replication State - Replication state exposed to the HTTP server.
Enums§
- Server
Surface - PLAN.md Phase 6.2 — endpoint segregation. A given HTTP listener
can serve either every public surface (
Public, default) or a restricted slice (AdminOnly,MetricsOnly). The route filter at the top ofroute()consults this so a port bound only to loopback for admin work won’t accidentally hand out DML.