summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2018-08-11 22:54:14 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2018-08-11 22:54:14 +0100
commitfdf4a5b7bc044ea6d26d8cb1e6835fada53c5f34 (patch)
tree77f24d9b067c78013034bdc7c95a5f13bdb86243 /include
parent7a022d706155cb2ac00936d6829883b40af7f147 (diff)
downloadmariadb-git-fdf4a5b7bc044ea6d26d8cb1e6835fada53c5f34.tar.gz
MDEV-16277 tcp_nodelay session variable to enable / disable Nagle algorithm
Diffstat (limited to 'include')
-rw-r--r--include/violite.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/violite.h b/include/violite.h
index 55f8328df47..19c117ebd85 100644
--- a/include/violite.h
+++ b/include/violite.h
@@ -89,6 +89,7 @@ size_t vio_write(Vio *vio, const uchar * buf, size_t size);
int vio_blocking(Vio *vio, my_bool onoff, my_bool *old_mode);
my_bool vio_is_blocking(Vio *vio);
/* setsockopt TCP_NODELAY at IPPROTO_TCP level, when possible */
+int vio_nodelay(Vio *vio, my_bool on);
int vio_fastsend(Vio *vio);
/* setsockopt SO_KEEPALIVE at SOL_SOCKET level, when possible */
int vio_keepalive(Vio *vio, my_bool onoff);