]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cfgparse/proxy: Group alloc error handling during proxy section parsing
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 12 Apr 2021 19:31:45 +0000 (21:31 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 12 Apr 2021 20:04:19 +0000 (22:04 +0200)
commitb15625a43b53077c2e036290b58f0d8bda56ce28
tree12ed8ae48f1da71bd693cf9b93852341be3e5b5f
parentb45a7d4b74a00622cea6a5c3a252f735abcb7852
MINOR: cfgparse/proxy: Group alloc error handling during proxy section parsing

All allocation errors in cfg_parse_listen() are now handled in a unique
place under the "alloc_error" label. This simplify a bit error handling in
this function.
src/cfgparse-listen.c