You could run mode tcp if you setup haproxy in transparent mode .
From: Dirk Taggesell [mailto:dirk.tagges...@googlemail.com]
Sent: Wednesday, October 28, 2009 9:03 AM
To: haproxy@formilux.org
Subject: Backend sends 204, haproxy sends 502
Hi all,
I want to load balance a new server
On Wed, Oct 28, 2009 at 9:02 PM, Dirk Taggesell
dirk.tagges...@googlemail.com wrote:
Hi all,
I want to load balance a new server application that generally sends
http code 204 - to save bandwidth and to avoid client-side caching.
In fact it only exchanges cookie data, thus no real content
Hi,
most 502 errors in haproxy responses come from bad backend responses.
Could you try adding a Content-Length: 0 header to the backend response? I
don't know if RFC requires it in a 204 response.
btw. the expires date in your setcookie looks a bit strange. 0059, 1959 or
2059?
Karsten
Am
the client's
IP with source haproxyinterfaceip usesrc client
Might be good if the transparent mode had a reference to usesrc..
From: Dirk Taggesell [mailto:dirk.tagges...@googlemail.com]
Sent: Wednesday, October 28, 2009 9:48 AM
To: John Lauro
Subject: Re: Backend sends 204, haproxy
On Wed, Oct 28, 2009 at 2:05 PM, John Lauro john.la...@covenanteyes.comwrote:
You could run mode tcp if you setup haproxy in transparent mode .
The docs say: Note that contrary to a common belief, this option does
NOT make HAProxy present the client's IP to the server when establishing
the
On Wed, Oct 28, 2009 at 3:30 PM, Jeffrey 'jf' Lim jfs.wo...@gmail.comwrote:
it looks like Karsten's suspicion is correct. Try adding the
'Content-length: 0' header. haproxy is still expecting more data from the
backend. (It apparently does not know about status 204???).
thanks, Jeffrey and
BTW: sorry for the somewhat wierd looking thread. I forgot to manually
include haproxy@formilux.org as recipient and manually re-sent it afterwards
to the list - for the sake of completeness.
And I am forced to use this abomination of a mail reader called google mail,
because my mail relay at
7 matches
Mail list logo