Added SocketManager to handle reuse of uninterested fd's by the kernel.

This commit is contained in:
Jari Sundell
2026-01-28 20:00:31 +01:00
committed by GitHub
parent 9489793dcb
commit 87666199b3
4 changed files with 81 additions and 37 deletions
+1
View File
@@ -86,6 +86,7 @@ ThreadScgi::change_rpc_log() {
if (scgi()->log_fd() != -1) {
::close(scgi()->log_fd());
scgi()->set_log_fd(-1);
lt_log_print(torrent::LOG_NOTICE, "Closed RPC log.", 0);
}