On Tue, Sep 29, 2020 at 06:00:27PM +0200, Tim Duesterhus wrote:
> This reuses the known `parsing [%s:%d]:` from regular config file error
> reporting.
 

On Tue, Sep 29, 2020 at 06:00:28PM +0200, Tim Duesterhus wrote:
> Similar to warning during the parsing of the regular configuration file
> that was added in 2fd5bdb439da29f15381aeb57c51327ba57674fc this patch adds
> a warning to the parsing of a crt-list if the file does not end in a
> newline (and thus might have been truncated).
> 
> The logic essentially just was copied over. It might be good to refactor
> this in the future, allowing easy re-use within all line-based config
> parsers.
> 
> see https://github.com/haproxy/haproxy/issues/860#issuecomment-693422936
> see 0354b658f061d00d5ab4b728d7deeff2c8f1503a
> 
> This should be backported as a warning to 2.2.

Thanks, both merged.


-- 
William Lallemand

Reply via email to