From f611ace342381b6378d286116a740a19f92f4a89 Mon Sep 17 00:00:00 2001 From: Quinten Mennen Date: Wed, 24 Sep 2025 13:01:05 +0200 Subject: [PATCH] fix(server config): remove server_fd --- webserv/config/ServerConfig.hpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/webserv/config/ServerConfig.hpp b/webserv/config/ServerConfig.hpp index 51ddedc..127f7f0 100644 --- a/webserv/config/ServerConfig.hpp +++ b/webserv/config/ServerConfig.hpp @@ -29,14 +29,9 @@ class ServerConfig [[nodiscard]] const LocationConfig &getLocation(const std::string &path) const; [[nodiscard]] std::vector getLocationPaths() const; - void setServerFD(int fd) { server_fd_ = fd; } - - [[nodiscard]] int getServerFD() const { return server_fd_; } - private: std::string host_; int port_; - int server_fd_; std::string root_; std::string cgi_pass_; std::string cgi_ext_;