Hi
I'm evaluating HAProxy and it looks very promising. However, I noticed
odd behavior and didn't find any documentation regarding it.
I have the following configuration:
frontend irc-galleria
bind .......
mode http
use_backend chatserver if { path_beg /chatserver }
use_backend suggestsearch if { path_beg /suggestSearch }
default_backend lighttpd-suomi
Both chatserver and suggestSearch are Jettys. Now the problem is: If I
browse a chatserver or suggestSearch url and continue to another page
that should be fetched from lighttpd-suomi, I'll get 404 errors from
Jetty. For some reason haproxy evaluates ACLs only on the initial
request in a keep-alive session. I found two "solutions" to this problem
- either disable keep-alive in browser or add "option httpclose" to
chatserver and suggestSearch backends.
Do I have a misconfiguration or is this a feature/bug? Thanks!
--
Kari Lavikka