commit | 75fb65a51fb87dc5e491173488160ec70e07f20c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Sep 07 17:43:26 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Sep 07 18:36:04 2018 +0200 |
tree | 3fdbcd1aa66038176f8784b535d4c9f5b555b424 | |
parent | 7ccdd8dad9a3c3ceb35d154254edda7203b98ce5 [diff] |
MINOR: proxy: add a new generic proxy_capture_error() This function now captures an error regardless of its side and protocol. The caller must pass a number of elements and may pass a protocol-specific structure and a callback to display it. Later this function may deal with more advanced allocation techniques to avoid allocating as many buffers as proxies.