mirror of
https://github.com/KeyZox71/webserv.git
synced 2025-07-20 15:46:32 +02:00
「🔨」 fix: fixed some things.
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/04/30 09:40:16 by adjoly #+# #+# */
|
||||
/* Updated: 2025/06/23 21:16:06 by adjoly ### ########.fr */
|
||||
/* Updated: 2025/06/23 21:26:10 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -76,7 +76,7 @@ void Get::parse(std::string const &data) {
|
||||
}
|
||||
|
||||
if (_route->isCgi(targ)) {
|
||||
_log->info("cgi added");
|
||||
_log->debug("cgi added");
|
||||
try {
|
||||
_cgi = new server::Cgi(this, _route);
|
||||
} catch (std::exception &e) {
|
||||
|
@ -6,7 +6,7 @@
|
||||
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/04/30 09:50:20 by adjoly #+# #+# */
|
||||
/* Updated: 2025/06/23 21:21:10 by adjoly ### ########.fr */
|
||||
/* Updated: 2025/06/23 21:25:57 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -70,7 +70,7 @@ void Post::parse(std::string const &data) {
|
||||
}
|
||||
|
||||
if (_route->isCgi(targ)) {
|
||||
_log->info("cgi added");
|
||||
_log->debug("cgi added");
|
||||
try {
|
||||
_cgi = new server::Cgi(this, _route);
|
||||
} catch (std::exception &e) {
|
||||
|
@ -6,7 +6,7 @@
|
||||
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/05/27 18:22:48 by adjoly #+# #+# */
|
||||
/* Updated: 2025/06/23 20:55:13 by adjoly ### ########.fr */
|
||||
/* Updated: 2025/06/23 21:25:17 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -134,7 +134,6 @@ void Server::_handle_resource(size_t i) {
|
||||
if (!res->isProcessed() && res->isReady()) {
|
||||
res->process();
|
||||
// if (res->type() == CGI) {
|
||||
_log->info("processingggg");
|
||||
// } else if (pfd.revents & res->event()) {
|
||||
// res->process();
|
||||
// _log->info("processingggg");
|
||||
|
Reference in New Issue
Block a user