multithreaded server

This commit is contained in:
udo
2021-12-05 00:24:57 +00:00
parent 0262e33653
commit f77581114c
26 changed files with 2063 additions and 206 deletions
+1 -1
View File
@@ -293,7 +293,7 @@ FastCGIServer::process(int timeout_ms)
}
if (it->second->close_socket && it->second->output_buffer.empty()) {
close_socket:
close_socket:
int close_result = close(it->first);
if (close_result == -1 && errno != ECONNRESET)
throw std::runtime_error("close() failed");