🔨」 fix: fixed port issue and main loop issue for reasons only gods or kanel knows

This commit is contained in:
2025-05-01 12:54:09 +02:00
parent ea3bf0c4a3
commit e54c5e8323
9 changed files with 107 additions and 92 deletions

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/04/14 14:14:39 by adjoly #+# #+# */
/* Updated: 2025/04/30 14:51:39 by adjoly ### ########.fr */
/* Updated: 2025/05/01 12:51:51 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -24,7 +24,7 @@ namespace server {
class Client {
public:
Client(struct pollfd *, sockaddr_in, config::Config *);
Client(struct pollfd *, config::Server *);
Client(const Client &cpy);
virtual ~Client(void);
@ -54,12 +54,10 @@ class Client {
}
struct pollfd *_pfd;
struct sockaddr_in _client_addr;
http::ARequest *_request;
// http::Response *_response;
config::Server *_conf;
config::Route *_route;
config::Config *_Gconf;
};
} // namespace server