maybe dump question

From: Aleksandar Lazic <al-haproxy#none.at>
Date: Wed, 30 Jan 2008 22:11:26 +0100


Hi,

sometimes I make a diff from previous_version current_version, for my curiosity ;-)

I have done this with haproxy-1.3.14.1 + haproxy-1.3.14.2

diff -ru haproxy-1.3.14.1 haproxy-1.3.14.2|less

and asked me why you have not combine this statement into a block?

I think mybe for performance issue or some other reason?!

srv_count_retry_down()
.
.

  if (t->srv)
    t->srv->cum_sess++;
  if (t->srv)
    t->srv->failed_conns++;

srv_retryable_connect()
.
.

case SN_ERR_INTERNAL:

if (t->srv)

         t->srv->cum_sess++;
if (t->srv)

         t->srv->failed_conns++;

---

Cheers

Aleks
Received on 2008/01/30 22:11

This archive was generated by hypermail 2.2.0 : 2008/01/30 22:15 CET