Re: connection pooling

2014-12-10 Thread Pavlos Parissis
On 9 December 2014 at 23:55, Baptiste wrote: > On Tue, Dec 9, 2014 at 10:04 PM, Pavlos Parissis > wrote: > > 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 f

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 functionality

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

2014-12-10 Thread Vincent Bernat
❦ 10 décembre 2014 06:00 +0100, Willy Tarreau  : >> > 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 pat

[SPAM] RE: IR Cut CCTV waterproof Zoom Full HD AHD Camera

2014-12-10 Thread bascctv.Limy
Click here to unsubscribe Report Spam Dear Manager, Hello! The New Year 2015 is coming, our company BASCCTV provide you some discounts, and hope that can help you win the clients and increase the sales in the new year. There are some promotional items as below,

Re: eliminate per-server queuing?

2014-12-10 Thread Baptiste
On Fri, Dec 5, 2014 at 7:20 PM, Daniel Lieberman wrote: > On Dec 5, 2014, at 5:21 AM, Baptiste wrote: >> >> On Thu, Dec 4, 2014 at 11:50 PM, Daniel Lieberman >> wrote: >>> We have a situation where our app servers sometimes get into a bad state, >>> and hitting a working server is more importan

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 /var/run/hapro

Re: connection pooling

2014-12-10 Thread Baptiste
On Wed, Dec 10, 2014 at 10:10 AM, Aleksandar Lazic 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 originat

Re: Override maintainance setting for special source IP

2014-12-10 Thread Baptiste
On Wed, Dec 10, 2014 at 12:34 PM, Philipp Kolmann 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 admin socket: > >

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 am

Re: Override maintainance setting for special source IP

2014-12-10 Thread Baptiste
On Wed, Dec 10, 2014 at 1:39 PM, Philipp Kolmann 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 use-Server dir

HAProxy and LDAP authentication

2014-12-10 Thread LAGARDE ANTOINE
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 server that doens't work anymore with 8.5.1GA. I used to have in my httpd.conf :

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 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 server that doens'

Re: Modify http response code

2014-12-10 Thread Baptiste
On Wed, Dec 10, 2014 at 2:55 PM, Dennis Jacobfeuerborn 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 modify the > response

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? I

Re: Modify http response code

2014-12-10 Thread Baptiste
On Wed, Dec 10, 2014 at 3:06 PM, Philipp 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 >> delivered with a 503 code instead of

Re: using HAProxy in front of SSO

2014-12-10 Thread Baptiste
On Wed, Dec 10, 2014 at 5:35 AM, Vivek Malik 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 whenever a new SS

[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 t

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

2014-12-10 Thread Mathias Bogaert
Would this keep the session open when using errorfile? On Wed, Dec 10, 2014 at 3:10 PM, Tait Clarridge wrote: > 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

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 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 figure all this wonderful

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 pay

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 pay

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  : > > >> > 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. Tha

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 co