commit | 5109196275d0e7a33f5d029bff96aa0fd58d759a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Jan 03 21:04:10 2011 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jan 03 21:06:32 2011 +0100 |
tree | 4f8b4c4d3eb7cd440a23f36ff881373a82a24bd6 | |
parent | 16023eef0bf199dc5baace721bf79b4a013ed621 [diff] |
[BUG] acl: fix handling of empty lines in pattern files Gabriel Sosa reported that haproxy unexpectedly reports an error when a pattern file loaded by an ACL contains an empty line. The test was present but inefficient as it did not consider the '\n' as the end of the line. This fix relies on the line length instead. It should be backported to 1.4.