Thank you very very much for the keyword "pre-connect" in your email.
I got the reason why so many 400 requests. Most of the requests are sent from flash player, this is so weird they send pre-connect request. I add option dontlognull in haproxy.cfg. The haproxy.log did not log any these empty connection. But on haproxy statistics report page, I still can see many 4xx requests reported. How to prevent haproxy report these pre-connect empty connection in statistics report page? [image: Inline image 1] 谢谢 金杰 (Jie Jin) On Sat, Jun 21, 2014 at 12:12 AM, Willy Tarreau <w...@1wt.eu> wrote: > On Fri, Jun 20, 2014 at 03:30:29PM +0800, Jie Jin wrote: > > In order to get output from stats socket, What parameter do I need to put > > in haproxy.cfg ? > > > > I tried show errors, but nothing returned. > > > > [www@front tmp]$ echo "show errors" | sudo socat stdio /tmp/haproxysock > > Total events captured on [20/Jun/2014:15:24:13.979] : 0 > > Then there's no bad capture, so what you're facing are just empty > connections, > most likely these are short-timed pre-connects. Thus it means you're not > causing any trouble but are just logging empty connections. Simply add : > > option dontlognull > > and these annoying empty connections will not be reported anymore. > > Regards, > Willy > >