> On 28 авг. 2015 г., at 12:12, Lukas Tribus <luky...@hotmail.com> wrote: > >> Hello, >> >> The flag TCP_NODELAY is unconditionally set on each TCP (ipv4/ipv6) >> connections between haproxy and the server, and beetwen the client and >> haproxy. > > That may be true, however HAProxy uses MSG_MORE to disable and > enable Nagle based on the individual situation. > > Use "option http-no-delay" [1] to disable Nagle unconditionally.
This option requires HTTP mode, but I must use TCP mode because our protocol is not HTTP (some custom protocol over TCP) > > > > Regards, > > Lukas > > > [1] > http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#4-option%20http-no-delay >