s3:libsmb:cli_np_tstream: use dynamic talloc buffers
authorStefan Metzmacher <metze@samba.org>
Tue, 7 Jun 2011 16:45:54 +0000 (18:45 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 8 Jun 2011 15:46:22 +0000 (17:46 +0200)
commitad1cf187fdbcd726c6c74085308784fe4ecca883
treec38bcc8b1cc74505e7970947b49bdcb3ee718560
parent0a3fadc707ba2826915c01dbd8745675594ef603
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
source3/libsmb/cli_np_tstream.c