Hello Pedro,

On Mon, May 19, 2014 at 02:19:58PM -0600, Pedro Salgado wrote:
> Hello,
> 
>   I've upgraded from 1.5-dev21 to 1.5-dev25 and this line of the
> configuration file
> 
>     use_backend WWW-DOMAIN if { ssl_fc_sni host.domain.com }
> 
>   stopped working.
> here is the error message:
> 
> [ALERT] 138/201051 (3212) : parsing [/etc/haproxy/haproxy.conf:118] : error
> detected while parsing switching rule : matching method must be specified
> first (using '-m') when using a sample fetch of this type ('ssl_fc_sni').
> [ALERT] 138/201052 (3212) : Fatal errors found in configuration.
> 
>   although this is an alert it actually prevents haproxy from starting.
>   I browsed the documentation but couldn't figure out where the -m option
> would need to be (also tried putting -i) since on every change it just
> showed a different error message.

Yes that's a regression introduced in dev23 when we reworked the ACLs/samples.
It was fixed on May 11th, please simply upgrade to the latest snapshot, for
now there are only bug fixes.

Regards,
Willy


Reply via email to