Module: kamailio
Branch: master
Commit: 30331861c6d10ba04352448f10ce6b912ebe0515
URL: 
https://github.com/kamailio/kamailio/commit/30331861c6d10ba04352448f10ce6b912ebe0515

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2025-07-17T17:41:05+02:00

core: more details in the log for checking msg_recv_max_size

---

Modified: src/core/udp_server.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/30331861c6d10ba04352448f10ce6b912ebe0515.diff
Patch: 
https://github.com/kamailio/kamailio/commit/30331861c6d10ba04352448f10ce6b912ebe0515.patch

---

diff --git a/src/core/udp_server.c b/src/core/udp_server.c
index b4e87ada3f5..528e4e1f4eb 100644
--- a/src/core/udp_server.c
+++ b/src/core/udp_server.c
@@ -685,7 +685,8 @@ int udp_rcv_loop()
                }
                if(ksr_msg_recv_max_size <= len) {
                        LOG(cfg_get(core, core_cfg, corelog),
-                                       "read message too large: %d\n", len);
+                                       "read message too large: %d (cfg msg 
recv max size: %d)\n",
+                                       len, ksr_msg_recv_max_size);
                        continue;
                }
                if(fromaddrlen != (unsigned 
int)sockaddru_len(bind_address->su)) {

_______________________________________________
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