other. Since this generates a full mesh, the amount of filedescriptors
needed grows quadratically with the amount of configured prefork
processes.
Might fix an out of filedescriptor bug that beck is seeing.
OK benno
-/* $OpenBSD: proc.c,v 1.40 2021/04/20 21:11:56 dv Exp $ */
+/* $OpenBSD: proc.c,v 1.41 2021/12/04 06:52:58 florian Exp $ */
/*
* Copyright (c) 2010 - 2016 Reyk Floeter <reyk@openbsd.org>
if (src == dst && i == j)
continue;
+ /* Servers don't talk to each other. */
+ if (src == PROC_SERVER && dst == PROC_SERVER)
+ continue;
+
pa = &ps->ps_pipes[src][i];
pb = &ps->ps_pipes[dst][j];
if (socketpair(AF_UNIX,