From 4427c3f43a87c2e0c784fda6be1b9715be820733 Mon Sep 17 00:00:00 2001 From: Susant Sahani Date: Mon, 28 Jul 2014 12:18:29 +0530 Subject: socket: add support for tcp nagle This patch adds support for TCP TCP_NODELAY socket option. This can be configured via NoDelay conf parameter. TCP Nagle's algorithm works by combining a number of small outgoing messages, and sending them all at once. This controls the TCP_NODELAY socket option. --- src/core/socket.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/socket.h') diff --git a/src/core/socket.h b/src/core/socket.h index 814a3bfabc..98396e7320 100644 --- a/src/core/socket.h +++ b/src/core/socket.h @@ -134,6 +134,7 @@ struct Socket { /* Socket options */ bool keep_alive; + bool no_delay; bool free_bind; bool transparent; bool broadcast; -- cgit v1.2.3-54-g00ecf