@ivanuschak commented on this pull request.


In src/core/msg_translator.c:

> @@ -2845,6 +2876,47 @@ int branch_builder(unsigned int hash_index,
 	return size;
 }
 
+static int is_haproxy(struct dest_info *send_info, struct receive_info *haproxy_rcv) {

The function goal is as follows:

  1. it retrieves the tcp_connetion_id from the dest_info parameter
  2. if this TCP connection is a haproxy connection, then the haproxy_rcv param is filled with the corresponding haproxy data and the function returns non-zero value
  3. otherwise if the TCP connection is not a connection to haproxy then the function returns zero value.

We will add the comments for this function in the source code.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3731/review/1850870026@github.com>