Greetings,

I am currently using HAProxy 2.8 and would like to clarify the exact
behavior of the src_conn_cur counter.

>From my understanding, src_conn_cur is intended to count the number of
concurrent connections from a single source IP address. However, I
have a couple of questions regarding its behavior in specific
scenarios:

1/ HTTP/2 multiplexing behavior
In HTTP/2, multiple requests can be multiplexed over a single TCP connection.
If a client opens one TCP connection and issues, for example, 20
parallel resource requests over that same connection, does
src_conn_cur increment to 20 in that case?
It seems to be that way from what I see but would be happy to have
confirmation on this point.
If so, is there another counter that operates strictly at the TCP
connection level (i.e., that would count only 1 in this situation)?

2/ Interaction with http-request set-src
Does src_conn_cur take into account modifications made by http-request set-src?
In other words, if the source address is rewritten using set-src, is
the counter evaluated against the modified source value?

Thank you in advance for your clarification.

Best regards,
Olivier


Reply via email to