RE: HAProxy v1.5-dev19 OpenSSL Support Issue

2013-08-11 Thread Lukas Tribus
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.



 HA-Proxy version 1.5-dev19 2013/06/17

This looks like dev19, not commit 00f0084752. I imagine you see have the
same problem with both?



 I've tried this with OpenSSL 1.0.1e to and I get the same problem.

Could you compile:
- latest git commit 00f0084752
- with your fix
- OpenSSL 1.0.1e

... and re-post the output of ./haproxy -vv. I'm particularly interested
in the Built with OpenSSL version and Running on OpenSSL version with
OpenSSL 1.0.1e and your fix.



Regards,
Lukas 


haproxy duplicate http_request_counter values

2013-08-11 Thread Patrick Hemmer
I'm using the %rt field in the unique-id-format config parameter (the
full value is %{+X}o%pid-%rt), and am getting lots of duplicates. In
one specific case, haproxy added the same http_request_counter value to
70 different http requests within a span of 61 seconds (from various
client hosts too). Does the http_request_counter only increment under
certain conditions, or is this a bug?

This is with haproxy 1.5-dev19

-Patrick