From a8c823f242a49a5506117f43ab98d3c2bf2e4e76 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 29 Jan 2021 22:11:59 +0100 Subject: [PATCH] Kernel: Bump the number of fd's that can be queued on a local socket --- Kernel/Net/LocalSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/Net/LocalSocket.cpp b/Kernel/Net/LocalSocket.cpp index ee23fcd976..d7c9d0c785 100644 --- a/Kernel/Net/LocalSocket.cpp +++ b/Kernel/Net/LocalSocket.cpp @@ -455,7 +455,7 @@ KResult LocalSocket::sendfd(const FileDescription& socket_description, FileDescr return EINVAL; auto& queue = sendfd_queue_for(socket_description); // FIXME: Figure out how we should limit this properly. - if (queue.size() > 16) + if (queue.size() > 128) return EBUSY; queue.append(move(passing_description)); return KSuccess;