I'm having trouble getting frontend cookie capture to work in haproxy. I have this in my config:
frontend frontend 0.0.0.0:9999
[snip]
capture cookie foo len 10
Then I use nc to talk directly to the server and send it:
GET / HTTP/1.1
Cookie: foo=bar
I get a log line, but there's a "-" where the captured cookie should be.