s3:libsmb: rewrite cli_pull* to use smb1cli_conn_req_possible()
commit21d0294536c9c5a2c266aae1fe342879cc59f227
authorStefan Metzmacher <metze@samba.org>
Tue, 13 Aug 2013 16:03:50 +0000 (13 18:03 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 30 Aug 2013 09:53:23 +0000 (30 11:53 +0200)
treeca5f2340458320a16b2876e43f32274bb83b27d0
parent21b11208bc446b5fcb0c06cddd0bbf8b6e24d4ce
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>
(cherry picked from commit 8062aefbe3c2fcc73e3d19af6663c8736c570f7c)
source3/libsmb/clireadwrite.c