haproxy/doc/internals
Willy Tarreau 2b71810cb3 CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion
The current "ADD" vs "ADDQ" is confusing because when thinking in terms
of appending at the end of a list, "ADD" naturally comes to mind, but
here it does the opposite, it inserts. Several times already it's been
incorrectly used where ADDQ was expected, the latest of which was a
fortunate accident explained in 6fa922562 ("CLEANUP: stream: explain
why we queue the stream at the head of the server list").

Let's use more explicit (but slightly longer) names now:

   LIST_ADD        ->       LIST_INSERT
   LIST_ADDQ       ->       LIST_APPEND
   LIST_ADDED      ->       LIST_INLIST
   LIST_DEL        ->       LIST_DELETE

The same is true for MT_LISTs, including their "TRY" variant.
LIST_DEL_INIT keeps its short name to encourage to use it instead of the
lazier LIST_DELETE which is often less safe.

The change is large (~674 non-comment entries) but is mechanical enough
to remain safe. No permutation was performed, so any out-of-tree code
can easily map older names to new ones.

The list doc was updated.
2021-04-21 09:20:17 +02:00
..
acl.txt DOC: fix some spelling issues over multiple files 2021-01-08 14:53:47 +01:00
body-parsing.txt
buffer-api.txt CLEANUP: dynbuf: remove the unused b_alloc_fast() function 2021-03-22 16:28:05 +01:00
connect-status.txt
connection-header.txt
connection-scale.txt
entities-v2.txt
entities.fig
entities.pdf
entities.svg
entities.txt
filters.txt CLEANUP: assorted typo fixes in the code and comments 2021-03-05 21:22:47 +01:00
hashing.txt
header-parser-speed.txt
header-tree.txt
http-cookies.txt
http-docs.txt
http-parsing.txt
htx-api.txt CLEANUP: assorted typo fixes in the code and comments 2021-03-05 21:22:47 +01:00
initcalls.txt
list.fig CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion 2021-04-21 09:20:17 +02:00
list.png CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion 2021-04-21 09:20:17 +02:00
listener-states.fig
listener-states.png
lua_socket.fig
lua_socket.pdf
muxes.fig [RELEASE] Released version 2.4-dev10 2021-02-26 22:49:10 +01:00
muxes.pdf DOC: muxes: add a diagram of the exchanges between muxes and outer world 2021-02-24 09:13:00 +01:00
muxes.png DOC: muxes: add a diagram of the exchanges between muxes and outer world 2021-02-24 09:13:00 +01:00
muxes.svg DOC: muxes: add a diagram of the exchanges between muxes and outer world 2021-02-24 09:13:00 +01:00
naming.txt
notes-layers.txt
pattern.dia
pattern.pdf
polling-states.fig [RELEASE] Released version 2.3-dev7 2020-10-17 10:31:50 +02:00
repartition-be-fe-fi.txt
sched.fig [RELEASE] Released version 2.4-dev10 2021-02-26 22:49:10 +01:00
sched.pdf DOC: scheduler: add a diagram showing the different queues and their usages 2021-02-26 17:49:37 +01:00
sched.png DOC: scheduler: add a diagram showing the different queues and their usages 2021-02-26 17:49:37 +01:00
sched.svg DOC: scheduler: add a diagram showing the different queues and their usages 2021-02-26 17:49:37 +01:00
sequence.fig
ssl_cert.dia DOC: internals: update the SSL architecture schema 2021-04-13 11:34:44 +02:00
stats-v2.txt
stream-sock-states.fig