diff --git a/include/haproxy/compat.h b/include/haproxy/compat.h index ed7e87051..35a38d73c 100644 --- a/include/haproxy/compat.h +++ b/include/haproxy/compat.h @@ -287,9 +287,10 @@ typedef struct { } empty_t; #endif /* Max number of file descriptors we send in one sendmsg(). Linux seems to be - * able to send 253 fds per sendmsg(), not sure about the other OSes. + * able to send 253 fds per sendmsg(), however musl is limited to 252, not sure + * about the other OSes. */ -#define MAX_SEND_FD 253 +#define MAX_SEND_FD 252 #endif /* _HAPROXY_COMPAT_H */