add tcp-syncnt URL param to adjust TCP_SYNCNT sockopt
[deb_libnfs.git] / lib / init.c
index 2a451a16d51f4282b76b40f0d32ee416aae72ef0..bb2fe17bd00ef48306cb716df5b2f37d09580a81 100644 (file)
@@ -73,6 +73,7 @@ struct rpc_context *rpc_init_context(void)
        rpc->xid = salt + time(NULL) + getpid() << 16;
        salt += 0x01000000;
        rpc->fd = -1;
+       rpc->tcp_syncnt = RPC_PARAM_UNDEFINED;
 
        return rpc;
 }