summaryrefslogtreecommitdiff
path: root/libcli/auth/spnego.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-03-15 11:57:48 -0700
committerJeremy Allison <jra@samba.org>2013-03-20 09:32:26 -0700
commitfd88520497b4043e9d81656f7cb56a7b25245c2a (patch)
treefab3fa19a01e59b91936839eb52e752a81a30d81 /libcli/auth/spnego.h
parent21707defe06e1db18a6645b0b56db4178e3df5f6 (diff)
downloadsamba-fd88520497b4043e9d81656f7cb56a7b25245c2a.tar.gz
samba-fd88520497b4043e9d81656f7cb56a7b25245c2a.tar.bz2
samba-fd88520497b4043e9d81656f7cb56a7b25245c2a.zip
s3:smbd: Add functions calc_max_read_pdu()/calc_read_size() to work out the length we should return.
LARGE_READX test shows it's always safe to return a short read. Windows does so. Do the calculations to return what will fit in a read depending on what the client negotiated. Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'libcli/auth/spnego.h')
0 files changed, 0 insertions, 0 deletions