[sr-dev] [kamailio/kamailio] Kamailio-Master tcp request relaying problem (EAGAIN) (#1836)
sergey-safarov
notifications at github.com
Mon Feb 11 13:23:28 CET 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190211/53f2343e/attachment.html>
More information about the sr-dev
mailing list