haproxy/examples
Willy Tarreau b63dbb7b2e MAJOR: config: remove parsing of the global "nbproc" directive
This one was deprecated in 2.3 and marked for removal in 2.5. It suffers
too many limitations compared to threads, and prevents some improvements
from being engaged. Instead of a bypassable startup error, there is now
a hard error.

The parsing code was removed, and very few obvious cases were as well.
The code is deeply rooted at certain places (e.g. "for" loops iterating
from 0 to nbproc) so it will not be that trivial to remove everywhere.
The "bind" and "bind-process" parsers will have to be adjusted, though
maybe not completely changed if we later want to support thread groups
for large NUMA machines. Some stats socket restrictions were removed,
and the doc was updated according to what was done. A few places in the
doc still refer to nbproc and will have to be revisited. The master-worker
code also refers to the process number to distinguish between master and
workers and will have to be carefully adjusted. The MAX_PROCS macro was
reset to 1, this will at least reduce the size of some remaining arrays.

Two regtests were dependieng on this directive, one with an explicit
"nbproc 1" and another one testing the master's CLI using nbproc 4.
Both were adapted.
2021-06-11 17:02:13 +02:00
..
errorfiles MINOR: fix typos in the examples files 2018-11-18 22:24:51 +01:00
acl-content-sw.cfg [RELEASE] Released version 1.3.12 with the following main changes : 2007-06-17 23:41:40 +02:00
basic-config-edge.cfg EXAMPLES: add a "basic-config-edge" example config 2021-05-12 17:50:16 +02:00
content-sw-sample.cfg CLEANUP: examples: fix the example file content-sw-sample.cfg 2015-10-13 16:47:16 +02:00
haproxy.init DOC: remove last occurrences of "HA-Proxy" syntax 2021-05-09 06:29:40 +02:00
option-http_proxy.cfg MAJOR: config: remove parsing of the global "nbproc" directive 2021-06-11 17:02:13 +02:00
quick-test.cfg EXAMPLES: add a trivial config for quick testing 2021-05-12 17:54:56 +02:00
socks4.cfg MEDIUM: connection: Upstream SOCKS4 proxy support 2019-05-31 17:24:06 +02:00
transparent_proxy.cfg CLEANUP: assorted typo fixes in the code and comments 2020-06-26 11:27:28 +02:00
wurfl-example.cfg CLEANUP: assorted typo fixes in the code and comments 2020-06-26 11:27:28 +02:00