@rdissauer The SREV_NET_DATA_OUT event is already used in in the msg_send_buffer, so this
is ok performance wise. The main reason that this logic is placed in msg_send_buffer() is
that it saves duplicated code - otherwise this logic needs to be added to the different
protocol sending low level functions.
But it can be pushed one level down to udp_send(), tcp_send, and sctp_core_msg_send(). The
logic for sending websocket is implemented with another event, this needs some more
investigation.
--
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/1722#issuecomment-440818832