summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-transport/socket
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/rpc-transport/socket')
-rw-r--r--rpc/rpc-transport/socket/src/socket.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/rpc/rpc-transport/socket/src/socket.c b/rpc/rpc-transport/socket/src/socket.c
index bf825049dca..e5272f0d3d1 100644
--- a/rpc/rpc-transport/socket/src/socket.c
+++ b/rpc/rpc-transport/socket/src/socket.c
@@ -1987,7 +1987,7 @@ socket_connect (rpc_transport_t *this, int port)
}
- if (priv->nodelay && priv->lowlat) {
+ if (priv->nodelay) {
ret = __socket_nodelay (priv->sock);
if (ret == -1) {
gf_log (this->name, GF_LOG_ERROR,
@@ -2575,11 +2575,6 @@ socket_init (rpc_transport_t *this)
optstr = NULL;
- if (dict_get_str (this->options, "transport.socket.lowlat",
- &optstr) == 0) {
- priv->lowlat = 1;
- }
-
/* Enable Keep-alive by default. */
priv->keepalive = 1;
priv->keepaliveintvl = 2;