commit | 0b3a4115431e47845f9a6dd1f75e000f88f75be7 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Mar 27 19:16:56 2011 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Mar 27 19:16:56 2011 +0200 |
tree | 0a75d98c06bf2e74b97e74b18f0aad97616a7811 | |
parent | d3cff72fb6b4c88a160a23907b800cd5c8dbff8b [diff] |
[BUG] session: conn_retries was not always initialized Johannes Smith reported some wrong retries count in logs associated with bad requests. The cause was that the conn_retries field in the stream interface was only initialized when attempting to connect, but is used when logging, possibly with an uninitialized value holding last connection's conn_retries. This could have been avoided by making use of a stream interface initializer. This bug is 1.5-specific.