Module: kamailio Branch: 6.0 Commit: 048e318881087fa6ba2bf25f0410b447203a0a00 URL: https://github.com/kamailio/kamailio/commit/048e318881087fa6ba2bf25f0410b447203a0a00
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2026-01-07T10:04:48+01:00 core: tcp - enable defining TCP_LISTEN_BACKLOG with compile options (cherry picked from commit 45a0e30f845d423474370cc5a46c851c2ba369ec) --- Modified: src/core/tcp_main.c --- Diff: https://github.com/kamailio/kamailio/commit/048e318881087fa6ba2bf25f0410b447203a0a00.diff Patch: https://github.com/kamailio/kamailio/commit/048e318881087fa6ba2bf25f0410b447203a0a00.patch --- diff --git a/src/core/tcp_main.c b/src/core/tcp_main.c index 43162098d77..be87e741a9f 100644 --- a/src/core/tcp_main.c +++ b/src/core/tcp_main.c @@ -115,7 +115,10 @@ #define TCP_PASS_NEW_CONNECTION_ON_DATA /* don't pass a new connection immediately to a child, wait for some data on it first */ +#ifndef TCP_LISTEN_BACKLOG #define TCP_LISTEN_BACKLOG 1024 +#endif + #define SEND_FD_QUEUE /* queue send fd requests on EAGAIN, instead of sending them immediately */ #define TCP_CHILD_NON_BLOCKING _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
