network-transport-tcp
network-transport-tcp copied to clipboard
Docs lie about default value of TCP_NODELAY
https://github.com/haskell-distributed/network-transport-tcp/blob/6757ce91eeb3fe67cde33f1f2178e090f8348345/src/Network/Transport/TCP.hs#L477
-- | Should we set TCP_NODELAY on connection sockets?
-- Defaults to True.
, tcpNoDelay :: Bool
https://github.com/haskell-distributed/network-transport-tcp/blob/6757ce91eeb3fe67cde33f1f2178e090f8348345/src/Network/Transport/TCP.hs#L615
defaultTCPParameters = TCPParameters {
...
, tcpNoDelay = False
This inconsistency was introduced in https://github.com/haskell-distributed/network-transport-tcp/commit/859a1ade2331803d64daf9e9c011b3f2c9c2608b.