aboutsummaryrefslogtreecommitdiffstats
path: root/common/rdr/FdOutStream.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2021-03-02 14:36:12 +0100
committerPierre Ossman <ossman@cendio.se>2021-03-02 14:36:12 +0100
commit736a4dc15cac351da847ca796ac267a28b827d8f (patch)
tree3f78f01253a78cacf876d87596024328a176679b /common/rdr/FdOutStream.cxx
parent706ca2f903f59d166f65b45db1e44dc44ef5020f (diff)
downloadtigervnc-736a4dc15cac351da847ca796ac267a28b827d8f.tar.gz
tigervnc-736a4dc15cac351da847ca796ac267a28b827d8f.zip
Revert "Support TCP_NOPUSH as alternative to TCP_CORK"
This reverts commit d6e39658ae105fca2cfe37ba736dbf0e8d8356af. Apparently this is broken on macOS so it's not something we can make use of.
Diffstat (limited to 'common/rdr/FdOutStream.cxx')
-rw-r--r--common/rdr/FdOutStream.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/rdr/FdOutStream.cxx b/common/rdr/FdOutStream.cxx
index 3cd86927..ed6535a8 100644
--- a/common/rdr/FdOutStream.cxx
+++ b/common/rdr/FdOutStream.cxx
@@ -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()