diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-12 02:45:22 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-09-14 13:09:36 -0700 |
commit | 6626c836f353ad2e574621a44bc9a74658cceb62 (patch) | |
tree | 4b13f97442d9ecff18ca916c1e0518e34fafb3bc /source3/libsmb/errormap_wbc.c | |
parent | 4c9b1841ed41df0b4084447ffcbfeb470679105f (diff) | |
download | samba-6626c836f353ad2e574621a44bc9a74658cceb62.tar.gz samba-6626c836f353ad2e574621a44bc9a74658cceb62.tar.bz2 samba-6626c836f353ad2e574621a44bc9a74658cceb62.zip |
s3:libsmb: let cli_write_max_bufsize() return the max number of possible bytes
s3:libsmb: let cli_write_max_bufsize() return the max number of possible bytes
We now return what's possible on the wire.
Which is 0x1FFFF - data_offset if CAP_LARGE_WRITEX is given by
the server (without signing) or 0xFFFFFF - data_offset
if CIFS_UNIX_LARGE_READ_CAP is available (without signing/sealing).
Otherwise we return max_xmit - data_offset.
metze
Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libsmb/errormap_wbc.c')
0 files changed, 0 insertions, 0 deletions