Hey Scott,

On Sun, Aug 11, 2013 at 10:22:15AM +0200, Lukas Tribus wrote:
> Hi Scott,
> 
> > src/ssl_sock.c:796: error: âstruct checkâ has no member named 'xprt'
> 
> Strange, I cannot reproduce this.
> 
> 
> 
> > Now if I edit src/ssl_sock.c line 796 and comment out
> > 'srv->check.xprt = &ssl_sock;' and replace it with 'srv->xprt = &ssl_sock;'
> > HAProxy and OpenSSL compile correctly
> 
> I'm not entirely sure what this exactly does, but I would imagine that this
> breaks health checks on ssl enabled backends.

Lukas is right here. Are you sure you didn't apply a patch or something
to your version ? Because clearly this cannot happen, there is a "check"
field in the "server" struct, and this "check" struct contains an "xprt"
field. So I don't see how the build can fail. Your change does not fix
the issue, it applies the check protocol to the nominal traffic instead
of applying it to the health checks.

Regards,
Willy


Reply via email to