Hi,
Le 29/03/2012 14:48, Łukasz Jagiełło a écrit :
> (...)
Problem happen when "timeout http-keep-alive 1s" and without "option
httpclose". When I turn "option httpclose" problem gone, and start
working normal.
From what I notice, as long as keepalive working only requests going
to backend from first request. After keepalive ends, again backend is
choice by ACL.
It looks like you forgot to use "option http-server-close" (timeout
http-keep-alive is not sufficient).
Without one of the options httpclose or http-server-close, haproxy works
in what is called "tunnel" mode, which means only the first request of a
connection is analyzed, everthing else is considered as data to be
directly streamed to the server.
--
Cyril Bonté