mirror of
https://git.tesses.org/tesses50/tessesframework.git
synced 2026-09-30 08:44:13 +00:00
Fix license compliance and fix things up, add reverse proxy, fix some security flaws with HttpUtils
This commit is contained in:
@@ -42,6 +42,7 @@ class RouteServer : public IHttpServer {
|
||||
};
|
||||
std::vector<RouteServerRoute> routes;
|
||||
std::shared_ptr<IHttpServer> root;
|
||||
Tesses::Framework::Threading::Mutex mtx;
|
||||
|
||||
public:
|
||||
RouteServer() = default;
|
||||
@@ -58,5 +59,6 @@ class RouteServer : public IHttpServer {
|
||||
void Add(std::string method, std::string pattern,
|
||||
ServerRequestHandler handler);
|
||||
bool Handle(ServerContext &ctx);
|
||||
void Clear();
|
||||
};
|
||||
} // namespace Tesses::Framework::Http
|
||||
Reference in New Issue
Block a user