Module: kamailio Branch: master Commit: 45a0e30f845d423474370cc5a46c851c2ba369ec URL: https://github.com/kamailio/kamailio/commit/45a0e30f845d423474370cc5a46c851c2ba369ec
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2026-01-06T17:17:09+01:00 core: tcp - enable defining TCP_LISTEN_BACKLOG with compile options --- Modified: src/core/tcp_main.c --- Diff: https://github.com/kamailio/kamailio/commit/45a0e30f845d423474370cc5a46c851c2ba369ec.diff Patch: https://github.com/kamailio/kamailio/commit/45a0e30f845d423474370cc5a46c851c2ba369ec.patch --- diff --git a/src/core/tcp_main.c b/src/core/tcp_main.c index 8c50728b063..56417f57003 100644 --- a/src/core/tcp_main.c +++ b/src/core/tcp_main.c @@ -116,7 +116,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!
