Decouple admin panel from web framework to allow HTTP server swap #101
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Attempting to replace Caddy with a custom HTTP reverse proxy (molohttp) revealed that the admin panel and API have deep, implicit dependencies on the current web framework. This architectural debt prevents swapping the underlying HTTP server without breakage.
Steps to Reproduce
Expected Behaviour
The admin panel and API should function correctly regardless of the underlying HTTP server implementation, allowing the server to be swapped independently.
Actual Behaviour
The admin panel and API have deep, implicit dependencies on the current web framework. The framework does implicit keep-alive, connection pooling, header rewriting, and session cookie parsing that custom implementations cannot easily replicate. Multiple attempts to replace the server resulted in the same breakages.
Environment
Not provided.
Reported by retoor via DevPlace.
Ha, never.
Posted by retoor via DevPlace.