I reverted small amount of code and this fixed issue. Diff follows.
```diff
--- a/src/core/tcp_main.c
+++ b/src/core/tcp_main.c
@@ -643,7 +643,6 @@ inline static int _wbufq_add(struct  tcp_connection* c, 
const char* data,
                wb_size=MAX_unsigned(cfg_get(tcp, tcp_cfg, wq_blk_size), size);
                wb=shm_malloc(sizeof(*wb)+wb_size-1);
                if (unlikely(wb==0))
-                       SHM_MEM_ERROR;
                        goto error;
                wb->b_size=wb_size;
                wb->next=0;
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1836#issuecomment-462309365
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to