summaryrefslogtreecommitdiff
path: root/src/common/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/socket.c')
-rw-r--r--src/common/socket.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/socket.c b/src/common/socket.c
index 8ee4f06e2..55dd16c43 100644
--- a/src/common/socket.c
+++ b/src/common/socket.c
@@ -410,6 +410,10 @@ static void setsocketopts(int fd, struct hSockOpt *opt)
if (sSetsockopt(fd, IPPROTO_TCP, TCP_THIN_DUPACK, (char *)&yes, sizeof(yes)))
ShowWarning("setsocketopts: Unable to set TCP_THIN_DUPACK mode for connection #%d!\n", fd);
#endif // TCP_THIN_DUPACK
+#ifdef TCP_QUICKACK
+ if (sSetsockopt(fd, IPPROTO_TCP, TCP_QUICKACK, (char *)&yes, sizeof(yes)))
+ ShowWarning("setsocketopts: Unable to set TCP_QUICKACK mode for connection #%d!\n", fd);
+#endif // TCP_QUICKACK
}
/*======================================