Repository navigation
Releases
Releases · Codomari/cdn-server
0.5.0
- Separate CORS configuration and middleware from HTTP route setup.
- Separate configuration loading from validation, and keep cache storage access in the cache backend.
- Simplify origin IP resolution and caching, and separate upstream response routing from file body validation.
0.4.1
0.4.0
- Enable permissive CORS by default for browser requests without credentials. The CDN routes answer OPTIONS preflights, allow any origin and request headers, and expose response headers such as
ETagandContent-Disposition. - Add boolean configuration switches for CORS and each of its response headers. Set
cors.enabletofalseto disable CORS entirely.
0.3.1
- Allow DNS hostnames outside
allowedHostswhen they resolve to a public address inhostIPWhitelist. Cache the approved address forhostIPCacheTtland check it against the current policy on each request.
0.3.0
- Reorganized the Rust source and made
main.rsconstruct and inject application dependencies. - Added graceful shutdown on SIGINT and SIGTERM. Listeners drain in-flight requests, cache workers stop taking new work, and running Certbot processes stop within the 30-second shutdown deadline.
- Raised the systemd file descriptor limit to 100,000.