[sr-dev] [kamailio/kamailio] tcp: correct queued length checking (#1376)

Dmitri Savolainen notifications at github.com
Wed Jan 31 22:04:10 CET 2018


i use default TCP params and change  _tcp_conn_wq_max_ and _tcp_wq_max_ can help of course according to if statement.

_q->queued_ is zero in my fail test,  so it is strange for me.
in docs
>tcp_conn_wq_max
> Maximum bytes queued for write allowed per connection. Attempting to queue more bytes would result in an error and in the connection being closed (**too slow**). If tcp_write_buf is not enabled, it has no effect.

So i try to add  the last 700k and it is failed always. I undestand this paramenter as not yet sent data (connection too slow), so if _q->queued<tcp_conn_wq_max_, then connection is fast and i can add more data to queue


-- 
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/pull/1376#issuecomment-362069809
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180131/e3d2620b/attachment-0001.html>


More information about the sr-dev mailing list