multithreaded server
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user