Why won't haproxy capture my cookie?
Posted
by mike
on Stack Overflow
See other posts from Stack Overflow
or by mike
Published on 2009-02-25T20:18:53Z
Indexed on
2010/06/14
19:02 UTC
Read the original article
Hit count: 227
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.
© Stack Overflow or respective owner