diff options
author | Jeremy Allison <jra@samba.org> | 2007-11-02 12:21:34 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-11-02 12:21:34 -0700 |
commit | 329365684bca99bf9020b6638a1357df65c1d938 (patch) | |
tree | 78d2ddfa0440fcaf14f4c9d4adbcf7c71572b968 /source3/include/client.h | |
parent | f2a63dccabcd82ce2ae1cf0df5ce824c7ab63fc2 (diff) | |
download | samba-329365684bca99bf9020b6638a1357df65c1d938.tar.gz samba-329365684bca99bf9020b6638a1357df65c1d938.tar.bz2 samba-329365684bca99bf9020b6638a1357df65c1d938.zip |
Change the client library to write directly out of
the incoming buffer in the non-signed case. Speeds
up writes by over 10% or so. Complete the server
recvfile implementation.
Jeremy.
(This used to be commit 81ca5853b2475f123faab3b550f0a7b24ae3c208)
Diffstat (limited to 'source3/include/client.h')
-rw-r--r-- | source3/include/client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/client.h b/source3/include/client.h index c4669dbf2e..e38017fe7b 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -29,6 +29,7 @@ #define CLI_SAMBA_MAX_LARGE_READX_SIZE (127*1024) /* Works for Samba servers */ #define CLI_WINDOWS_MAX_LARGE_READX_SIZE ((64*1024)-2) /* Windows servers are broken.... */ #define CLI_SAMBA_MAX_POSIX_LARGE_READX_SIZE (0xFFFF00) /* 24-bit len. */ +#define CLI_SAMBA_MAX_POSIX_LARGE_WRITEX_SIZE (0xFFFF00) /* 24-bit len. */ /* * These definitions depend on smb.h |