aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2011-08-29 18:56:05 +0200
committerMemphiz <memphis@machzwo.de>2011-08-29 18:56:05 +0200
commit8c579e41f448b056022e282f2c6c843b13cca57c (patch)
tree6df4addf2eb1e3d7030bb600c0077eadb88c0d69
parent4963cfcd37ca459bc88060cfddca77c9a98c335a (diff)
[osx/ios] - add tcp socket options and lock dir to smb - for testing
-rw-r--r--xbmc/filesystem/FileSmb.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/xbmc/filesystem/FileSmb.cpp b/xbmc/filesystem/FileSmb.cpp
index a10190bf24..8f9468210c 100644
--- a/xbmc/filesystem/FileSmb.cpp
+++ b/xbmc/filesystem/FileSmb.cpp
@@ -128,6 +128,8 @@ void CSMB::Init()
#if defined(TARGET_DARWIN)
fprintf(f, "\tmax protocol = smb2\n");
+ fprintf(f, "\tsocket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536\n");
+ fprintf(f, "\tlock directory = %s/.smb/\n", getenv("HOME"));
#endif
// set wins server if there's one. name resolve order defaults to 'lmhosts host wins bcast'.
// if no WINS server has been specified the wins method will be ignored.