MEDIUM: chunks: Realloc trash buffers only after the config is parsed… · haproxy/haproxy@3ef2639 · GitHub
Skip to content

Commit 3ef2639

Browse files
capflamwtarreau
authored andcommitted
MEDIUM: chunks: Realloc trash buffers only after the config is parsed and checked
Trash buffers are reallocated when "tune.bufsize" parameter is changed. Here, we just move the realloc after the configuration parsing. Given that the config parser doesn't rely on the trash size, it should be harmless.
1 parent 748919a commit 3ef2639

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎src/cfgparse.c‎

Lines changed: 0 additions & 5 deletions

‎src/haproxy.c‎

Lines changed: 6 additions & 0 deletions

0 commit comments

Comments
 (0)