Remove header filtering, since it's fully configurable in nginx
This commit is contained in:
3
server.h
3
server.h
@@ -10,7 +10,7 @@ namespace firecgi {
|
||||
|
||||
class Server {
|
||||
public:
|
||||
Server(int port, const std::function<void(Request*)>& callback, int threads=1, const std::unordered_set<std::string_view>& headers={}, int max_request_len=(16*1024));
|
||||
Server(int port, const std::function<void(Request*)>& callback, int threads=1, int max_request_len=(16*1024));
|
||||
void Serve();
|
||||
void Shutdown();
|
||||
void RegisterSignalHandlers();
|
||||
@@ -23,7 +23,6 @@ class Server {
|
||||
const int port_;
|
||||
const std::function<void(Request*)> callback_;
|
||||
const int threads_;
|
||||
const std::unordered_set<std::string_view> headers_;
|
||||
const int max_request_len_;
|
||||
|
||||
int close_fd_;
|
||||
|
||||
Reference in New Issue
Block a user