]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cfgparse: Support configurations without newline at EOF
authorTim Duesterhus <tim@bastelstu.be>
Mon, 22 Jun 2020 20:57:44 +0000 (22:57 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 23 Jun 2020 03:14:36 +0000 (05:14 +0200)
commit70f58997f47e8ed48fe9ec517d80a32c8d575bc0
tree7a3af29c7f43db20bac8c52cbab05cbb5bcf0d89
parent88403266e5c38b5fbe278a25304cbdc735ae50fe
BUG/MINOR: cfgparse: Support configurations without newline at EOF

Fix parsing of configurations if the configuration file does not end with
an LF.

This patch fixes GitHub issue #704. It's a regression in
9e1758efbd68c8b1d27e17e2abe4444e110f3ebe which is 2.2 specific. No backport
needed.
src/cfgparse.c