s3:libsmb: rewrite cli_push* to use smb1cli_conn_req_possible()
commitb846b3acd2b217a0d67c1e8fcb039e03498c4e47
authorStefan Metzmacher <metze@samba.org>
Tue, 13 Aug 2013 12:10:59 +0000 (13 14:10 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 15 Aug 2013 07:07:06 +0000 (15 09:07 +0200)
tree369b189c4fa994b9046b0f66e4188245ecc889c3
parent7efdc323d1a1abdae70bcafefe07b3cffcdb2521
s3:libsmb: rewrite cli_push* 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