Hi Dan, On Wed, Jul 09, 2014 at 07:13:33PM +0000, Daniel Dubovik wrote: > Hello all, > > I am attempting to balance traffic to a number of backend instances. I am > balancing based off the Host header, and for the most part everything is > working. When testing a bit more today, I came across some weird behavior, > and am hoping someone can help out. When POSTing to a site, if it is done > using the Content-Type application/x-www-form-urlencoded, and has actual > data, HAProxy falls back to a roundrobin balancing scheme. POSTing using a > Content-Type of multipart/form-data, however, works just fine. Oddly, > application/x-www-form-urlencoded with no actual data, also works as > expected.
(...) There's indeed a bug, the amount of data forwarded is not deduced correctly to rewind the buffer, I'm even wondering if it's expected that we let them pass at this point. I'm investigating, thanks for your report! Willy

