Add new parameter, "min receivefile size" (by default set
authorJeremy Allison <jra@samba.org>
Tue, 30 Oct 2007 23:22:24 +0000 (16:22 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 30 Oct 2007 23:22:24 +0000 (16:22 -0700)
commit11c03b75ddbcb6e36b231bb40a1773d1c550621c
treefc7df93e78bff84576e8cd913609c8f0fad7d1f0
parent765b37c693516757686118fffd3c80cf4d5e7344
Add new parameter, "min receivefile size" (by default set
to zero). If non-zero, writeX calls greater than this
value will be left in the socket buffer for later handling
with recvfile (or userspace equivalent). Definition of
recvfile for your system is left as an exercise for
the reader (I'm working on getting splice working :-).
Jeremy.
source/include/smb.h
source/lib/recvfile.c
source/lib/util_sock.c
source/param/loadparm.c
source/smbd/blocking.c
source/smbd/fileio.c
source/smbd/notify.c
source/smbd/process.c
source/smbd/reply.c
source/smbd/server.c
source/smbd/vfs.c