[sr-dev] [kamailio/kamailio] Infinity read from socket (#2658)

sergey-safarov notifications at github.com
Wed Mar 3 14:20:28 CET 2021


As I understand haproxy protocol may be used only for `inbound` connections and can't be used for outbound connections.
According to` lsof` output, problem connection is outbound
```
[root at sbc-13 ~]# lsof -a -p  56907| grep 3931924
kamailio 56907 kamailio   58u     IPv4            3931924      0t0     TCP ip-100-85-118-66.us-west-1.compute.internal:sip->207.244.110.239:11495 (ESTABLISHED)
```
>From point of view need to change [this block](https://github.com/kamailio/kamailio/blob/1f751775525fdcdb5a75b45fbf451e2bef3696ec/src/core/tcp_main.c#L1163-L1173) to avoid enter when Kamailio try to create the outbound connection.

-- 
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/2658#issuecomment-789708947
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210303/8522dac5/attachment.htm>


More information about the sr-dev mailing list