diff options
author | Andreas Kling <kling@serenityos.org> | 2021-01-29 22:11:59 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-29 22:11:59 +0100 |
commit | a8c823f242a49a5506117f43ab98d3c2bf2e4e76 (patch) | |
tree | 075c263e08f95b6cc0523b7f37f6cf351572ebcc /Kernel/Net/LocalSocket.cpp | |
parent | 0324144e2ad1d402218cf5a0f10aa5c3b04394c7 (diff) | |
download | serenity-a8c823f242a49a5506117f43ab98d3c2bf2e4e76.zip |
Kernel: Bump the number of fd's that can be queued on a local socket
Diffstat (limited to 'Kernel/Net/LocalSocket.cpp')
-rw-r--r-- | Kernel/Net/LocalSocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |