diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-03-10 10:56:33 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-03-10 11:03:15 +0100 |
commit | 7fc8086e11497c96be72859a510f72cb3c4104d5 (patch) | |
tree | 2a712d0b8962e7a106baaa7af6f4636fce2ea597 /source3/libsmb/clitrans.c | |
parent | 143b222546f5b6bd6af000426465aa7466ae2ba3 (diff) | |
download | samba-7fc8086e11497c96be72859a510f72cb3c4104d5.tar.gz samba-7fc8086e11497c96be72859a510f72cb3c4104d5.tar.bz2 samba-7fc8086e11497c96be72859a510f72cb3c4104d5.zip |
s3:libsmb: fix a lot of cli_push() bugs
There were the following problems:
1.) if window_size was a multiple of the chunk_size,
we silently dropped the last truncated chunk.
2.) if window_size was 0 pushed only the first chunk
to the server and silently dropped the rest.
3.) we had only transferred state->num_reqs writes,
even if there would be more data to send.
metze
Diffstat (limited to 'source3/libsmb/clitrans.c')
0 files changed, 0 insertions, 0 deletions