s3:libsmb:cli_np_tstream: use dynamic talloc buffers
commitb13df1f6b987148d6743703929b9112cb25e2338
authorStefan Metzmacher <metze@samba.org>
Tue, 7 Jun 2011 16:45:54 +0000 (7 18:45 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jun 2011 18:22:44 +0000 (14 20:22 +0200)
treebd370faea6a570cc67dcd016ea08a4ef755944a9
parenta64603f6633d61036fc6a7e626a4738cfe413b52
s3:libsmb:cli_np_tstream: use dynamic talloc buffers

Having 8192 bytes on an idle connection is a bit to much,
so we better use dynamic buffers using talloc, which also
avoids a memcpy in the common SMBtrans readv codepath.

metze
(cherry picked from commit ad1cf187fdbcd726c6c74085308784fe4ecca883)
source3/libsmb/cli_np_tstream.c