mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-23 13:17:16 +00:00
c7afedc140
This one has been misused for a while as well, it's time to deprecate it since we don't use it anymore. It will be removed in 2.7 and for now is only marked as deprecated. Since we need to guarantee that it's zeroed before starting any applet or CLI command, it was moved into an anonymous union where its sibling is not marked as deprecated so that we can continue to initialize it without triggering a warning. If you found this commit after a bisect session you initiated to figure why you got some build warnings and don't know what to do, have a look at the code that deals with the "show fd", "show sess" or "show servers" commands, as it's supposed to be self-explanatory about the tiny changes to apply to your code to port it. If you find APPLET_MAX_SVCCTX to be too small for your use case, either kindly ask for a tiny extension (and try to get your code merged), or just use a pool. |
||
---|---|---|
.. | ||
haproxy | ||
import |