mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-11 23:03:06 -05:00
Here the idea is to calculate the POOL_EXTRA size that is appended at the end of a pool object based on the sum of enabled optional fields so that we can more easily compute offsets and sizes depending on build options. For this, POOL_EXTRA is replaced with POOL_EXTRA_MARK which itself is set either to sizeof(void*) or zero depending on whether we enable marking the origin pool or not upon allocation. |
||
|---|---|---|
| .. | ||
| haproxy | ||
| import | ||