From 77e09f43ed0148d6e9a70a4dd2852370e3b2ddcd Mon Sep 17 00:00:00 2001 From: Quinten Date: Tue, 11 Nov 2025 16:28:44 +0100 Subject: [PATCH] fix: remove const qualifier from respond and poll methods in Client class --- webserv/client/Client.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webserv/client/Client.hpp b/webserv/client/Client.hpp index 8f91ef1..5646069 100644 --- a/webserv/client/Client.hpp +++ b/webserv/client/Client.hpp @@ -39,8 +39,8 @@ class Client ~Client(); void request(); - void respond() const; - void poll() const; + void respond(); + void poll(); [[nodiscard]] ASocket &getSocket(int fd = -1) const; @@ -63,6 +63,7 @@ class Client std::unordered_map sockets_; Server &server_; + long writeOffset_ = 0; // void writeToCgi(); // void readFromCgi(); }; \ No newline at end of file