|
cwist
Modern C web framework with libttak runtime
|

Files | |
| app.c | |
| assets.c | |
| Content-hashed in-memory assets: registration, URL lookup and serving. | |
| assets_internal.h | |
| Private wiring between app.c and the asset registry (assets.c). | |
| big_dumb_reply.c | |
| Opportunistic response cache that stores stable GET replies in memory or on disk. | |
| compress.c | |
| Compression middleware and built-in zlib/brotli/zstd backends. | |
| config.c | |
| config.c interface. | |
| csrf.c | |
| Double-submit CSRF protection. | |
| log_async.c | |
| Opt-in background writer for log lines (cwist_log_async_start()). | |
| log_async.h | |
| Internal hook from the log call sites into the async log writer. | |
| logger.c | |
| logger.c interface. | |
| middleware.c | |
| Built-in middleware implementations for request IDs, logging, rate limits, CORS, and JWT auth. | |
| openapi.c | |
| Runtime OpenAPI 3.1 endpoint (#408). | |
| otel.c | |
| OpenTelemetry tracing middleware (#402). | |
| rate_limit_redis.c | |
| Optional process-shared Redis rate limiter. | |
| routes_internal.h | |
| Read-only walk of an app's route table for in-tree consumers (the runtime OpenAPI generator in openapi.c). | |
| shutdown.c | |
| Graceful shutdown implementation. | |
| test_client.c | |
| test_client.c interface. | |
| waf.c | |
| Bounded, case-insensitive WAF-lite checks. | |
| worker_affinity.h | |