That was more a comment for Willie and other devs, there is a mode "-c" that checks the config file(s) for validity/syntax, I was suggesting adding a warning to that mode for backends that are mode http but don't have an http close mechanism.

On 9/20/11 1:18 AM, Christophe Rahier wrote:
Hi,

What do you mean when you say running "-c"?

Here's my config file.

Thanks for your help.

Christophe

global
log 192.168.0.2 local0
log 127.0.0.1 local1 notice
maxconn     10240
defaults
log    global
option dontlognull
retries    2
timeout client 35s
timeout server 35s
timeout connect 5s
timeout http-keep-alive 10s

listen WebPlayer-Farm 192.168.0.2:80
mode http
option httplog
balance source
#balance leastconn
option forwardfor
stats enable
option http-server-close
server Player1 192.168.0.10:80 check
server Player2 192.168.0.11:80 check
server Player3 192.168.0.12:80 check
server Player4 192.168.0.13:80 check
server Player5 192.168.0.14:80 check
option httpchk HEAD /checkcf.cfm HTTP/1.0

listen WebPlayer-Farm-SSL 192.168.0.2:443
mode tcp
option ssl-hello-chk
balance source
server Player1 192.168.0.10:443 check
server Player2 192.168.0.11:443 check
server Player3 192.168.0.12:443 check
server Player4 192.168.0.13:443 check
server Player5 192.168.0.14:443 check

listen  Manager-Farm    192.168.0.2:81
mode http
option httplog
balance source
option forwardfor
stats enable
option http-server-close
server  Manager1 192.168.0.60:80 check
server  Manager2 192.168.0.61:80 check
option httpchk HEAD /testcf/checkcf.cfm HTTP/1.0

listen Manager-Farm-SSL 192.168.0.2:444
mode tcp
option ssl-hello-chk
balance source
server Manager1 192.168.0.60:443 check
server Manager2 192.168.0.61:443 check

listen  info 192.168.0.2:90
mode http
balance source
stats uri /






Le 20/09/11 01:27, « Hank A. Paulson »<h...@spamproof.nospammail.net>  a
écrit :

You can get weird results like this sometimes if you don't use http-close
or
any other http closing option on http backends. You should paste your
config.

Maybe there should be a warning, if there is not already, for that
situation -
maybe just when running "-c".

On 9/19/11 5:46 AM, Christophe Rahier wrote:
I don't use Apache but IIS.

I tried to disable caching on IIS but the problem is still there.

There's no proxy, all requests are sent from pfSense.

Christophe




Le 19/09/11 13:45, « Baptiste »<bed...@gmail.com>   a écrit :

hi Christophe,

HAProxy is *only* a reverse proxy.
No caching functions in it.

Have you tried to browse your backend servers directly?
Can it be related to your browser's cache?

cheers

On Mon, Sep 19, 2011 at 1:39 PM, Christophe Rahier
<christo...@qualifio.com>   wrote:
Hi,
Is there a caching system at HAProxy?

In fact, we find that when we put online new files (CSS, for example)
that
they are not addressed directly, it usually takes about ten minutes.

Thank you in advance for your help.

Christophe








Reply via email to