Re: [PATCH] replace-header/modify-header option for http-request/http-response directives

2014-06-16 Thread Sasha Pachev
Attached is the patch that incorporates Thierry's fixes, and places HTTP_RULE_RES_BADREQ where it belongs. I noticed another problem and fixed it - if http-response/http-request was used with an invalid action keyword, the error message failed to mention replace-header/modify-header in the list of

Re: [PATCH] replace-header/modify-header option for http-request/http-response directives

2014-06-16 Thread Willy Tarreau
On Mon, Jun 16, 2014 at 11:30:58AM -0600, Sasha Pachev wrote: > Willy: > > The concern is that in your change > > case HTTP_REQ_ACT_AUTH returns HTTP_RULE_RES_BADREQ, while > > case HTTP_REQ_ACT_REPLACE_HDR: > case HTTP_REQ_ACT_MODIFY_HDR: > > return HTTP_RULE_RES_ABRT. Did you mean to return

Water Industrie Professionnels Emails List

2014-06-16 Thread amy
Hello, The purpose of this email you would like to connect your acquire customers from the Water Industrie Professionnels Emails List to prompte your business or Product and Acquire new customers, Increase retention or improve sales and service efficiency, We Provide you all Key Decision Maker

Re: [PATCH] replace-header/modify-header option for http-request/http-response directives

2014-06-16 Thread Sasha Pachev
Willy: The concern is that in your change case HTTP_REQ_ACT_AUTH returns HTTP_RULE_RES_BADREQ, while case HTTP_REQ_ACT_REPLACE_HDR: case HTTP_REQ_ACT_MODIFY_HDR: return HTTP_RULE_RES_ABRT. Did you mean to return HTTP_RULE_RES_BADREQ in the case of REPLACE/MODIFY and keep HTTP_REQ_ACT_AUTH the

Re: Some thoughts about redispatch

2014-06-16 Thread Willy Tarreau
Hi Dmitry, On Mon, Jun 16, 2014 at 06:58:02PM +0400, Dmitry Sivachenko wrote: > > On 13 2014 ??., at 20:00, Willy Tarreau wrote: > > > > > Done! I've just pushed this. In the end I preferred not to apply this > > principle to leastconn since there are some situations where leastconn >

Re: Re: Almost there...

2014-06-16 Thread Remi Gacogne
On 06/16/2014 03:19 PM, Julien Vehent wrote: > > On 2014-06-13 15:19, Willy Tarreau wrote: >> Emeric and Dirkjan at github are >> finishing a basic support for OCSP Stapling which we'd prefer to merge >> before the release in case we figure out that we need a smarter way to >> configure the CA fil

Re: Some thoughts about redispatch

2014-06-16 Thread Dmitry Sivachenko
On 13 июня 2014 г., at 20:00, Willy Tarreau wrote: > > Done! I've just pushed this. In the end I preferred not to apply this > principle to leastconn since there are some situations where leastconn > farms can be highly unbalanced (after a server restart) so killing the > delay could result in

Re: [PATCH] replace-header/modify-header option for http-request/http-response directives

2014-06-16 Thread Willy Tarreau
On Mon, Jun 16, 2014 at 08:42:47AM -0600, Sasha Pachev wrote: > Thierry: > > Thanks. Some comments below... > > > I dont understand why the return code in "case HTTP_REQ_ACT_AUTH" line > > 3361 in file proto_http.c is changed from HTTP_RULE_RES_ABRT to > > HTTP_RULE_RES_BADREQ. Can you add commen

Re: [PATCH] replace-header/modify-header option for http-request/http-response directives

2014-06-16 Thread Sasha Pachev
Thierry: Thanks. Some comments below... > I dont understand why the return code in "case HTTP_REQ_ACT_AUTH" line > 3361 in file proto_http.c is changed from HTTP_RULE_RES_ABRT to > HTTP_RULE_RES_BADREQ. Can you add comments or explain your modification > in the commit text. It seems that is not c

haproxy & real sever status

2014-06-16 Thread Muhammad Ammad Shah
HI, i have two web servers, could you please help me to find a way to know the status of real servers are up or down. Thanks, Muhammad Ammad Shah

Re: haproxy 1.4 and ssl

2014-06-16 Thread Jonathan Matthews
On 16 Jun 2014 13:19, wrote: > > hi all > > i have the following situation: > i have 4 real servers (two exchange2013 and 2 citrix) which should get loadbalanced behind haproxy 1.4 (because this is the version shipped with redhat). > this backendservers should talk: > exchanges: https, pop3, imap,

Re: [PATCH] replace-header/modify-header option for http-request/http-response directives

2014-06-16 Thread Thierry FOURNIER
On Sun, 15 Jun 2014 07:18:54 +0200 Willy Tarreau wrote: > Hi Sasha, > > On Sat, Jun 14, 2014 at 10:24:43PM -0600, Sasha Pachev wrote: > > Willy: > > > > I have made some revisions to the patch. Originally the use case > > required only to be able to append to the header, so the modify-header >

Re: Almost there...

2014-06-16 Thread Julien Vehent
On 2014-06-13 15:19, Willy Tarreau wrote: Emeric and Dirkjan at github are finishing a basic support for OCSP Stapling which we'd prefer to merge before the release in case we figure out that we need a smarter way to configure the CA files now. Did I read that right? Haproxy will have support f

RE: [PATCH v8] MEDIUM: Add port_to_str helper

2014-06-16 Thread Lukas Tribus
Hi! > Hi,  >  > Maybe a stupid question but if I download version 1.5-dev26, all the  > latest patches are present in this version or should I apply too?  No, dev26 was released May, 28th and doesn't contain any newer code. To get more current code I suggest to use git, you just need 2 commands

haproxy 1.4 and ssl

2014-06-16 Thread cheese
hi all i have the following situation: i have 4 real servers (two exchange2013 and 2 citrix) which should get loadbalanced behind haproxy 1.4 (because this is the version shipped with redhat). this backendservers should talk: exchanges: https, pop3, imap, pop3s, imaps citix: https https shoul

Re: [PATCH v8] MEDIUM: Add port_to_str helper

2014-06-16 Thread Christophe Rahier
Hi, Maybe a stupid question but if I download version 1.5-dev26, all the latest patches are present in this version or should I apply too? Thanks for your help. Kind regards, Christophe On 16/06/14 10:11, Willy Tarreau wrote: On Mon, Jun 16, 2014 at 09:39:41AM +0900, Simon Horman wrote: T

Re: [PATCH v8] MEDIUM: Add port_to_str helper

2014-06-16 Thread Simon Horman
On Mon, Jun 16, 2014 at 10:11:10AM +0200, Willy Tarreau wrote: > On Mon, Jun 16, 2014 at 09:39:41AM +0900, Simon Horman wrote: > > This helper is similar to addr_to_str but > > tries to convert the port rather than the address > > of a struct sockaddr_storage. > > > > This is in preparation for su

Re: [PATCH v8] MEDIUM: Add port_to_str helper

2014-06-16 Thread Willy Tarreau
On Mon, Jun 16, 2014 at 09:39:41AM +0900, Simon Horman wrote: > This helper is similar to addr_to_str but > tries to convert the port rather than the address > of a struct sockaddr_storage. > > This is in preparation for supporting > an external agent check. > > Signed-off-by: Simon Horman Than