On Sun, Jan 25, 2015 at 12:16:08AM +0100, Cyril Bonté wrote: > As reported by Raphaël Enrici, certificates loaded from a directory are loaded > in a non predictive order. If no certificate was first loaded from a file, it > can result in different behaviours when haproxy is used in cluster. > We can also imagine other cases which weren't met yet. > > Instead of using readdir(), we can use scandir() and sort files > alphabetically. > This will ensure a predictive behaviour. > > This patch should also be backported to 1.5.
applied to 1.5 and 1.6, thank you Cyril! Willy

