commit | dd78921c66ea1440676b06200064c9a27f82c50d | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Sep 30 15:10:07 2020 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Dec 04 14:41:48 2020 +0100 |
tree | d9969bd04c9280fed3b0a8d79f05c32762d06979 | |
parent | 42849b047a6d183985b2c12a0ebab18704ebf9f6 [diff] |
MINOR: logs: Use session idle duration when no stream is provided When a log message is emitted from the session, using sess_log() function, there is no stream available. In this case, instead of deducing the idle duration from the accept date, we use the one provided by the session. 0 is used if it is undefined (i.e set to -1).