mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-13 15:04:42 +00:00
e5f20dcea8
This structure will consume 4 bytes per header to keep track of headers within a request or a response without having to parse the whole request for each regex. As it's not possible to allocate only 4 bytes, we define a max number of HTTP headers. We set it to (BUFSIZE+79)/80 so that 8kB buffers can contain 100 headers (like Apache), resulting in 400 bytes dedicated to indexation, or about 400/(2*8kB) ~= 2.4% of the memory usage. |
||
---|---|---|
.. | ||
appsession.h | ||
base64.h | ||
cfgparse.h | ||
chtbl.h | ||
compat.h | ||
config.h | ||
defaults.h | ||
epoll.h | ||
hashpjw.h | ||
list.h | ||
memory.h | ||
mini-clist.h | ||
regex.h | ||
standard.h | ||
template.h | ||
time.h | ||
uri_auth.h | ||
version.h |