]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: log: temporary fix for lost SSL info in some situations
authorWilly Tarreau <w@1wt.eu>
Thu, 10 Jan 2013 15:22:27 +0000 (16:22 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 10 Jan 2013 15:22:27 +0000 (16:22 +0100)
commit1f31c73030727da96ccb971e62b4d55ef182e8a7
tree16bbb332d83b8dcda1cebb7f09eb6caf25ce28ac
parentb6daedd46ca527bcd16cb3d70a78e897761c33d3
BUG/MINOR: log: temporary fix for lost SSL info in some situations

When using log-format to log the result of sample fetch functions
which rely on the transport layer (eg: ssl*), we have no way to tell
the proxy not to release the connection before logs have caught the
necessary information. As a result, it happens that logging SSL fetch
functions sometimes doesn't return anything for example if the server
is not available and the connection is immediately aborted.

This issue will be fixed with the upcoming patches to finish handling
of sample fetches.

So for the moment, always mark the LW_XPRT flag on the proxy so that
when any fetch method is used, the proxy does not release the transport
layer too fast.
src/log.c