haproxy/include
Willy Tarreau 71c07ac65a MINOR: stream/debug: make a stream dump and crash function
During 1.9 development (and even a bit after) we've started to face a
significant number of situations where streams were abusively spinning
due to an uncaught error flag or complex conditions that couldn't be
correctly identified. Sometimes streams wake appctx up and conversely
as well. More importantly when this happens the only fix is to restart.

This patch adds a new function to report a serious error, some relevant
info and to crash the process using abort() so that a core dump is
available. The purpose will be for this function to be called in various
situations where the process is unfixable. It will help detect these
issues much earlier during development and may even help fixing test
platforms which are able to automatically restart when such a condition
happens, though this is not the primary purpose.

This patch only provides the function and doesn't use it yet.
2019-04-26 13:15:56 +02:00
..
common CLEANUP: standard: use proper const to addr_to_str() and port_to_str() 2019-04-25 17:48:16 +02:00
import
proto MINOR: stream/debug: make a stream dump and crash function 2019-04-26 13:15:56 +02:00
types MINOR: applet: measure and report an appctx's call rate in "show sess" 2019-04-24 16:04:23 +02:00