summaryrefslogtreecommitdiffstats
path: root/transport
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2009-10-29 05:58:07 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-29 09:23:50 -0700
commit0897c400c0864be252e5d23d41b71779f70eafe4 (patch)
tree0729c176a436998419f2b865bf92b07740d50e87 /transport
parent82c0df9941abfb4836947fce1ff9da266dbd7499 (diff)
transport/socket: Support for TCP_NODELAY
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 344 (Add support for TCP NODELAY in master) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=344
Diffstat (limited to 'transport')
-rw-r--r--transport/socket/src/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/transport/socket/src/socket.h b/transport/socket/src/socket.h
index d8e819789..44715697d 100644
--- a/transport/socket/src/socket.h
+++ b/transport/socket/src/socket.h
@@ -116,6 +116,8 @@ typedef struct {
} incoming;
pthread_mutex_t lock;
int windowsize;
+ char lowlat;
+ char nodelay;
} socket_private_t;