s3:libsmb: rewrite cli_pull* to use smb1cli_conn_req_possible()
authorStefan Metzmacher <metze@samba.org>
Tue, 13 Aug 2013 16:03:50 +0000 (18:03 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 15 Aug 2013 07:07:06 +0000 (09:07 +0200)
commit8062aefbe3c2fcc73e3d19af6663c8736c570f7c
tree2c286bfc4728a886db1679620ebb105ea36e41f2
parentb846b3acd2b217a0d67c1e8fcb039e03498c4e47
s3:libsmb: rewrite cli_pull* to use smb1cli_conn_req_possible()

This works out if it's possible to ship the next request dynamically
instead of relying on fixed values.

The default window size is 16 MByte.

We limit the number of outstanding chunks/requests to 256.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/clireadwrite.c