42Webserver / 42-Vienna-Webserv

This project is about writing our own HTTP server in C++
1 stars 0 forks source link

Cgi Timeout no longer works #70

Closed Nikster3k closed 3 weeks ago

Nikster3k commented 3 weeks ago

We constantly POLLIN the outPipe of CGI, until the connection times out after 1 second. We then close the connection, but only close the outPipe fd and leave the socket open. Then the browser is stuck on waiting on a response and we already lost the socket fd.