Re: Failed to persist on SSL session ID

2013-02-25 Thread bobby1
Emeric BRUN ebrun@... writes: Ki, original message- De: Godbach nylzhaowei@... A: Emeric BRUN ebrun@... Copie à: haproxy@... Date: Mon, 21 Jan 2013 11:46:46 +0800 - Hi, Emeric Thank you for

[PATCH] MEDIUM: systemd-wrapper: don't leak zombie processes

2013-02-25 Thread Marc-Antoine Perennou
Formerly, if A was replaced by B, and then B by C before A finished exiting, we didn't wait for B to finish so it ended up as a zombie process. Fix this by queuing all process we spawn for waitpid. Signed-off-by: Marc-Antoine Perennou marc-anto...@perennou.com --- src/haproxy-systemd-wrapper.c |

[PATCH 02/13] CLEANUP: Make parameters of srv_downtime and srv_getinter const

2013-02-25 Thread Simon Horman
The parameters of srv_downtime and srv_getinter are not modified and thus may be const. Signed-off-by: Simon Horman ho...@verge.net.au --- include/proto/server.h |4 ++-- src/server.c |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/proto/server.h

[PATCH 00/13] checks: Add supplementary agent checks

2013-02-25 Thread Simon Horman
This patch set adds two new server parameters, agent-port and agent-interval. These may be used to control running an agent check as well as a (non-agent) health check. Some details of how this may be configured may be found in the changelog of the last patch of the series. From an

[PATCH 04/13] MEDIUM: Move {,fast,down}inter to struct check

2013-02-25 Thread Simon Horman
Move {,fast,down}inter elements from struct server to struct check. This allows those elements of a check to be independent of the check's server. This is in preparation for associating a agent check with a server which runs as well as the server's existing check. Signed-off-by: Simon Horman

[PATCH 03/13] MEDIUM: Split up struct server's check element

2013-02-25 Thread Simon Horman
This is in preparation for associating a agent check with a server which runs as well as the server's existing check. The split has been made by: * Moving elements of struct server's check element that will be shared by both checks into a new check_common element of struct server. * Moving

[PATCH 09/13] MEDIUM: Add name element to struct check

2013-02-25 Thread Simon Horman
This is in preparation for associating a agent check with a server which runs as well as the server's existing check. Signed-off-by: Simon Horman horms+rene...@verge.net.au --- include/types/server.h |1 + src/cfgparse.c |5 +++-- src/checks.c |2 +- 3 files

[PATCH 05/13] MEDIUM: Move result element to struct check

2013-02-25 Thread Simon Horman
Move result element from struct server to struct check This allows check results to be independent of the check's server. This is in preparation for associating a agent check with a server which runs as well as the server's existing check. Signed-off-by: Simon Horman ho...@verge.net.au ---

[PATCH 11/13] MEDIUM: Add type type to struct check

2013-02-25 Thread Simon Horman
This is used to indicate the type of a check independent of its server's proxy's check type. This is in preparation for associating a agent check with a server which runs as well as the server's existing check. Signed-off-by: Simon Horman ho...@verge.net.au --- include/types/server.h |1 +

[PATCH 07/13] MEDIUM: cfgparse: Factor out check initialisation

2013-02-25 Thread Simon Horman
This is in preparation for struct server having two elements of type struct check. Signed-off-by: Simon Horman ho...@verge.net.au --- src/cfgparse.c | 56 +--- 1 file changed, 33 insertions(+), 23 deletions(-) diff --git a/src/cfgparse.c

[PATCH 06/13] MEDIUM: Paramatise functions over the check of a server

2013-02-25 Thread Simon Horman
Paramatise the following functions over the check of a server * set_server_down * set_server_up * srv_getinter * server_status_printf * set_server_check_status * set_server_disabled Generally the server parameter of these functions has been removed. Where it is still needed it is obtained using

[PATCH 10/13] MEDIUM: Move health element to struct check

2013-02-25 Thread Simon Horman
This is in preparation for associating a agent check with a server which runs as well as the server's existing check. Signed-off-by: Simon Horman ho...@verge.net.au --- include/types/server.h |3 ++- src/cfgparse.c | 10 +- src/checks.c | 50

[PATCH 08/13] MEDIUM: Add state to struct check

2013-02-25 Thread Simon Horman
Add state to struct check. This is currently used to store one bit, CHK_RUNNING, which is set if a check is running and clear otherwise. This bit was previously SRV_CHK_RUNNING of the state element of struct server. This is in preparation for associating a agent check with a server which runs as

[PATCH 12/13] MEDIUM: Add helper for task creation for checks

2013-02-25 Thread Simon Horman
This helper is in preparation for adding a second struct check element to struct server. Signed-off-by: Simon Horman ho...@verge.net.au --- src/checks.c | 47 --- 1 file changed, 28 insertions(+), 19 deletions(-) diff --git a/src/checks.c

[PATCH 13/13] MEDIUM: checks: Add supplementary agent checks

2013-02-25 Thread Simon Horman
Allow an agent check to be run in conjunction with one other server health check. If the backend for a server check is not lb-agent-chk then an agent check may also be run using the agent-check parameter to a server, which sets the TCP port to be used for the agent check. e.g. server web1_1

haproxy gone from epel

2013-02-25 Thread Michael Glenney
Don't know how much control you guys have over this but it looks like haproxy has been removed from the EPEL repositories. Anyone have any information about this? Curious as to why. Last week haproxy-1.4.22-1.el6 was available. can't find anything now. MG

Re: haproxy gone from epel

2013-02-25 Thread Michael Glenney
Ignore my last. Looks like it was merged into rhel repo. Rule #1 of Automation: Manage your dependencies ;) Shame on me On Mon, Feb 25, 2013 at 9:57 PM, Michael Glenney mike.glen...@gmail.comwrote: Don't know how much control you guys have over this but it looks like haproxy has been