Hi,
I thought that
no option http-server-close
activate the server keep-alive handling but I get
...
2012/03/31 22:04:41 [debug] 32644#0: *94159 http header: "Connection:
close"
...
in my nginx log.
Is there a flag or option in the haproxy custom log format
http://haproxy.1wt.eu/git?p=haproxy.git;a=blob;f=doc/configuration.txt;h=2ede20860576f17e2ee91ff26f409876ec32729d;hb=HEAD#l8741
which shows if the client/proxy/server request is a keep-alive request,
similar like
http://httpd.apache.org/docs/2.2/mod/mod_log_config.html
%X
Maybe there could be a
%Cc => - Client no-keep alive request
+ Client keep alive request
%Bc => - Backend no-keep alive request
+ Backend keep alive request
logging variable ;-)
Please can anybody help me to activate the server keep-alive.
My config is this.
http://pastebin.com/4S9S8GHD
haproxy version.
###
/home/haproxy/server/haproxy/sbin/haproxy -vv
HA-Proxy version 1.5-dev8 2012/03/24
Copyright 2000-2012 Willy Tarreau <[email protected]>
Build options :
TARGET = linux26
CPU = generic
CC = gcc
CFLAGS = -O2 -g -fno-strict-aliasing
OPTIONS = USE_LINUX_SPLICE=1 USE_PCRE=1
Default settings :
maxconn = 2000, bufsize = 16384, maxrewrite = 8192, maxpollevents =
200
Encrypted password support via crypt(3): yes
Available polling systems :
sepoll : pref=400, test result OK
epoll : pref=300, test result OK
poll : pref=200, test result OK
select : pref=150, test result OK
Total: 4 (4 usable), will use sepoll.
###
Kernel:
uname -a
Linux HOSTNAME 3.0.0-16-virtual #28-Ubuntu SMP Fri Jan 27 18:22:35 UTC
2012 x86_64 x86_64 x86_64 GNU/Linux
OS:
cat /etc/issue
Ubuntu 11.10 \n \l
#########
Thank you for your help
Aleks