Re: connection pooling

2014-12-10 Thread Aleksandar Lazic
Hi. Am 09-12-2014 22:04, schrieb Pavlos Parissis: Hi, It has been mentioned that 1.5 version doesn't support connection pooling, meaning that 1 TCP session to a backend server can serve multiple HTTP requests originated from than 1 client. Do you guys have plans to introduce this

Re: rand(x) output limited to x/2

2014-12-10 Thread Vincent Bernat
❦ 10 décembre 2014 06:00 +0100, Willy Tarreau w...@1wt.eu : Assuming that RAND_MAX is always a power of two - 1, 32 could be replaced by a precomputed value of ffs(RAND_MAX+1)-1. ebtree defines a fls64() function which seems best suited (RAND_MAX+1 could overflow). Here is a proposed

Re: eliminate per-server queuing?

2014-12-10 Thread Baptiste
On Fri, Dec 5, 2014 at 7:20 PM, Daniel Lieberman dlieber...@bitpusher.com wrote: On Dec 5, 2014, at 5:21 AM, Baptiste bed...@gmail.com wrote: On Thu, Dec 4, 2014 at 11:50 PM, Daniel Lieberman dlieber...@bitpusher.com wrote: We have a situation where our app servers sometimes get into a bad

Override maintainance setting for special source IP

2014-12-10 Thread Philipp Kolmann
Hi, we use HAproxy infront of a Exchange 2010 System to balance the load. It works very well. Now we have an issue with one HubTransport Server in the Exchange Farm. I have set this Server to maintainance via admin socket: echo disable server mail-intern/htc1 | socat stdio

Re: connection pooling

2014-12-10 Thread Baptiste
On Wed, Dec 10, 2014 at 10:10 AM, Aleksandar Lazic al-hapr...@none.at wrote: Hi. Am 09-12-2014 22:04, schrieb Pavlos Parissis: Hi, It has been mentioned that 1.5 version doesn't support connection pooling, meaning that 1 TCP session to a backend server can serve multiple HTTP requests

Re: Override maintainance setting for special source IP

2014-12-10 Thread Baptiste
On Wed, Dec 10, 2014 at 12:34 PM, Philipp Kolmann kolm...@zid.tuwien.ac.at wrote: Hi, we use HAproxy infront of a Exchange 2010 System to balance the load. It works very well. Now we have an issue with one HubTransport Server in the Exchange Farm. I have set this Server to maintainance via

Re: Override maintainance setting for special source IP

2014-12-10 Thread Philipp Kolmann
Hi Baptiste, Am 10.12.14 um 12:37 schrieb Baptiste: Which version of HAProxy are you running? In 1.5, you can do: use-server htc1 if { src 10.0.0.1 } add as many IPs as needed. Yes I am on 1.5 already. This use-Server directive is specified in the config file? or can I push this change via

Re: Override maintainance setting for special source IP

2014-12-10 Thread Baptiste
On Wed, Dec 10, 2014 at 1:39 PM, Philipp Kolmann kolm...@zid.tuwien.ac.at wrote: Hi Baptiste, Am 10.12.14 um 12:37 schrieb Baptiste: Which version of HAProxy are you running? In 1.5, you can do: use-server htc1 if { src 10.0.0.1 } add as many IPs as needed. Yes I am on 1.5 already. This

Modify http response code

2014-12-10 Thread Dennis Jacobfeuerborn
Hi, is there a way to modify the http code of a response? Right now I use a backup server to deliver a static maintenance page but I want it to be delivered with a 503 code instead of 200. Is there a way to modify the response code like this? Regards, Dennis

Re: HAProxy and LDAP authentication

2014-12-10 Thread Baptiste
On Wed, Dec 10, 2014 at 2:44 PM, LAGARDE ANTOINE alaga...@ch-bourgoin.fr wrote: Hi, I've been browsing the mailing list and the documentation but I didn't find a way to authenticate users using LDAP (and not userlist in configuration) I used to have an apache reverse proxying my zimbra mail

Re: Modify http response code

2014-12-10 Thread Baptiste
On Wed, Dec 10, 2014 at 2:55 PM, Dennis Jacobfeuerborn denni...@conversis.de wrote: Hi, is there a way to modify the http code of a response? Right now I use a backup server to deliver a static maintenance page but I want it to be delivered with a 503 code instead of 200. Is there a way to

Re: Modify http response code

2014-12-10 Thread Philipp
Am 10.12.2014 14:55 schrieb Dennis Jacobfeuerborn: Hi, is there a way to modify the http code of a response? Right now I use a backup server to deliver a static maintenance page but I want it to be delivered with a 503 code instead of 200. Is there a way to modify the response code like this?

Re: Modify http response code

2014-12-10 Thread Baptiste
On Wed, Dec 10, 2014 at 3:06 PM, Philipp e1c1bac6253dc54a1e89ddc046585...@posteo.net wrote: Am 10.12.2014 14:55 schrieb Dennis Jacobfeuerborn: Hi, is there a way to modify the http code of a response? Right now I use a backup server to deliver a static maintenance page but I want it to be

Re: using HAProxy in front of SSO

2014-12-10 Thread Baptiste
On Wed, Dec 10, 2014 at 5:35 AM, Vivek Malik vivek.ma...@gmail.com wrote: Hi, AFAIK, Haproxy doesn't have a subrequest feature. However, there are other design solutions possible to make Haproxy as SSO filter. I am using Haproxy is a similar fashion. I have coded my SSO to notify Haproxy

[PATCH] MINOR: session: add option to force response on connection/keepalive session errors

2014-12-10 Thread Tait Clarridge
Sometimes it is necessary to respond to all requests that HAProxy receives from clients and to not have to wait for the client to retry. This adds an option called http-respond-on-error, where if there is an error in connecting to a server or during the session, the proxy will respond with a 504

Re: [PATCH] MINOR: session: add option to force response on connection/keepalive session errors

2014-12-10 Thread Tait Clarridge
On Wed, Dec 10, 2014 at 10:27 AM, Mathias Bogaert mathias.boga...@gmail.com wrote: Would this keep the session open when using errorfile? We have errorfiles that we explicitly set Connection: close for the client to re-establish a new connection. From my limited understanding (still trying to

5 conseils experts pour reduire vos impots

2014-12-10 Thread ExclusiviteFiscalite
Si vous n'arrivez pas à voir cet email, consultez-le en ligne en cliquant sur le lien ci-dessous : Voir le message en ligne Defisc-et-Moi.frMon partenaire en défiscalisation Zéro euro d'impôts pendant 12 ans grâce à la défiscalisation. Ne perdez plus vos impôts, investissez. Vous

5 conseils experts pour reduire vos impots

2014-12-10 Thread ExclusiviteFiscalite
Si vous n'arrivez pas à voir cet email, consultez-le en ligne en cliquant sur le lien ci-dessous : Voir le message en ligne Defisc-et-Moi.frMon partenaire en défiscalisation Zéro euro d'impôts pendant 12 ans grâce à la défiscalisation. Ne perdez plus vos impôts, investissez. Vous

Re: rand(x) output limited to x/2

2014-12-10 Thread Willy Tarreau
On Wed, Dec 10, 2014 at 10:33:59AM +0100, Vincent Bernat wrote: ??? 10 décembre 2014 06:00 +0100, Willy Tarreau w...@1wt.eu : Assuming that RAND_MAX is always a power of two - 1, 32 could be replaced by a precomputed value of ffs(RAND_MAX+1)-1. ebtree defines a fls64() function

Hi there

2014-12-10 Thread Newsletter
Hi! I noticed you have been interested in binary options. Please take a look at the following link and check out their offers! http://partner.binaryoptions-affiliate.com/signup/35084 John If you wish to unsubscribe, reply in the subjet line Unsubscribe so i can take you off my list.

Config reload to take out backend server still getting traffic

2014-12-10 Thread Kasim
Hi, I am running haproxy on Ubuntu 14.04. After I added following config: stick-table type ip size 2m expire 5m stick on src Taking out a server and reloading haproxy still sends traffic to that server ever after the stick table expires. For example, I have server s1 server s2 After