Fix license compliance and fix things up, add reverse proxy, fix some security flaws with HttpUtils

This commit is contained in:
2026-08-31 20:57:18 -05:00
parent 313e75b14c
commit 3bce736834
41 changed files with 2227 additions and 384 deletions
@@ -24,11 +24,15 @@
namespace Tesses::Framework::Http {
class ChangeableServer {
std::shared_ptr<IHttpServer> server;
Tesses::Framework::Threading::Mutex mtx;
public:
ChangeableServer();
ChangeableServer(std::shared_ptr<IHttpServer> original);
std::shared_ptr<IHttpServer> server;
bool Handle(ServerContext &ctx);
void SetServer(std::shared_ptr<IHttpServer> server);
std::shared_ptr<IHttpServer> GetServer();
~ChangeableServer();
};
} // namespace Tesses::Framework::Http