Module: kamailio
Branch: master
Commit: 0f34b62ad21e57a21ed2b478cbdb784787b2adab
URL: 
https://github.com/kamailio/kamailio/commit/0f34b62ad21e57a21ed2b478cbdb784787b2adab

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2025-06-23T13:36:50+02:00

core: tcp - increase the TCP_ID_HASH_SIZE

- now 2048 instead of 1024

---

Modified: src/core/tcp_conn.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/0f34b62ad21e57a21ed2b478cbdb784787b2adab.diff
Patch: 
https://github.com/kamailio/kamailio/commit/0f34b62ad21e57a21ed2b478cbdb784787b2adab.patch

---

diff --git a/src/core/tcp_conn.h b/src/core/tcp_conn.h
index bd394c5a57c..ea1f6b6329a 100644
--- a/src/core/tcp_conn.h
+++ b/src/core/tcp_conn.h
@@ -376,7 +376,7 @@ typedef struct tcp_connection
 #define TCPCONN_UNLOCK lock_release(tcpconn_lock);
 
 #define TCP_ALIAS_HASH_SIZE 4096
-#define TCP_ID_HASH_SIZE 1024
+#define TCP_ID_HASH_SIZE 2048
 
 /* hash (dst_ip, dst_port, local_ip, local_port) */
 static inline unsigned tcp_addr_hash(struct ip_addr *ip, unsigned short port,

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to