Browse Source

Revert "Support TCP_NOPUSH as alternative to TCP_CORK"

This reverts commit d6e39658ae. Apparently
this is broken on macOS so it's not something we can make use of.
tags/v1.11.90
Pierre Ossman 3 years ago
parent
commit
736a4dc15c
1 changed files with 0 additions and 4 deletions
  1. 0
    4
      common/rdr/FdOutStream.cxx

+ 0
- 4
common/rdr/FdOutStream.cxx View File

@@ -74,10 +74,6 @@ void FdOutStream::cork(bool enable)
int one = enable ? 1 : 0;
setsockopt(fd, IPPROTO_TCP, TCP_CORK, (char *)&one, sizeof(one));
#endif
#ifdef TCP_NOPUSH
int one = enable ? 1 : 0;
setsockopt(fd, IPPROTO_TCP, TCP_NOPUSH, (char *)&one, sizeof(one));
#endif
}

bool FdOutStream::flushBuffer()

Loading…
Cancel
Save