add tcp-syncnt URL param to adjust TCP_SYNCNT sockopt
[deb_libnfs.git] / lib / libnfs.c
index ec11ba5558ca30d592eea1069ee3e322e08864e2..cd15fb01eabe0bcc4fa722f33d322d6ad719ba38 100644 (file)
@@ -280,6 +280,9 @@ flags:
                if (strp2) {
                        *strp2 = 0;
                        strp2++;
+                       if (!strncmp(strp, "tcp-syncnt", 10)) {
+                               rpc_set_tcp_syncnt(nfs->rpc, atoi(strp2));
+                       }
                }
        }