LibCore: Increase MAX_LOCAL_SOCKET_TRANSFER_FDS

It is currently possible to hit this limit on pages with large numbers
of images. This temporary workaround prevents some WPT tests with large
numbers of images from failing.
This commit is contained in:
Tim Ledbetter 2025-05-22 12:24:09 +01:00 committed by Tim Flynn
commit fe99c1fa7c
Notes: github-actions[bot] 2025-05-22 12:01:02 +00:00

View file

@ -10,7 +10,8 @@
namespace Core {
static constexpr size_t MAX_LOCAL_SOCKET_TRANSFER_FDS = 64;
// FIXME: This limit has been chosen arbitrarily to avoid WPT test flakiness.
static constexpr size_t MAX_LOCAL_SOCKET_TRANSFER_FDS = 640;
ErrorOr<int> Socket::create_fd(SocketDomain domain, SocketType type)
{