_exec_script() close fd and reset signal
+ somes more adjustements in _exec_script() + rough notes for non blocking CGI
This commit is contained in:
@@ -62,6 +62,11 @@ void Webserv::run()
|
||||
std::vector<Client>().swap(_clients);
|
||||
break;
|
||||
}
|
||||
catch (const Webserv::ExecFail& e)
|
||||
{
|
||||
std::cerr << e.what() << '\n';
|
||||
throw;
|
||||
}
|
||||
catch (const std::exception& e) {
|
||||
std::cerr << e.what() << '\n';
|
||||
++i;
|
||||
|
||||
Reference in New Issue
Block a user