summaryrefslogtreecommitdiff
path: root/source3/smbd/nttrans.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-11-24 22:05:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:26 -0500
commit314ec086f3a015f97cc5dafc3038b3bf782d92af (patch)
tree50d6e0e4a3015b061df736298ff22e808a9ccd47 /source3/smbd/nttrans.c
parent3bd5c9a8385576c3201580233e521b9de11918ab (diff)
downloadsamba-314ec086f3a015f97cc5dafc3038b3bf782d92af.tar.gz
samba-314ec086f3a015f97cc5dafc3038b3bf782d92af.tar.bz2
samba-314ec086f3a015f97cc5dafc3038b3bf782d92af.zip
r3944: Fix the problem we get on Linux where sendfile fails, but we've already sent the
header using send(). As our implementation of sendfile can't return EINTR (it restarts in that case) use an errno of EINTR to signal the linux sendfile fail after header case. When that happens send the rest of the data and then turn off sendfile. Sendfile should be safe to enable on all systems now (even though it may not help in all performance cases). Jeremy. (This used to be commit 78236382f7ffe08d7924907be49493779521837f)
Diffstat (limited to 'source3/smbd/nttrans.c')
0 files changed, 0 insertions, 0 deletions