conclusion, no real php cgi

This commit is contained in:
Eric LAZO
2022-08-17 17:59:53 +02:00
parent b45ed52a2a
commit 4fdbb1e0eb
8 changed files with 130 additions and 42 deletions

View File

@@ -26,7 +26,10 @@ void Webserv::_read_cgi_output(Client *client)
else if (ret == 0)
std::cerr << "Madame s'il vous plait, du Ketchup pour mon hamburger" << " (AKA:ret=0)" << "\n";
else
{
std::cerr << "NORMAL BEHAVIOR I THINK!\n"; // debug
client->cgi_output.append(buf, ret);
}
}
void Webserv::_handle_epoll_error_cgi_fd(uint32_t events, Client *client)