commit | f853320b44b3e0daa396322f6016fbb566592004 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Aug 16 14:55:08 2008 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat Aug 16 14:55:08 2008 +0200 |
tree | acdcd24810049f3e579b6ac153eee9542ab50627 | |
parent | 1ae3a057df05604b350498eb1c5f8d2ecf256269 [diff] |
[MINOR] term_trace: add better instrumentations to trace the code A new member has been added to the struct session. It keeps a trace of what block of code performs a close or a shutdown on a socket, and in what sequence. This is extremely convenient for post-mortem analysis where flag combinations and states seem impossible. A new ABORT_NOW() macro has also been added to make the code immediately segfault where called.