lib/tsocket: optimize syscalls in tstream_readv_pdu_send()
commit8679684f546271c6855629f5e929e137fd531201
authorStefan Metzmacher <metze@samba.org>
Fri, 2 Nov 2012 12:56:53 +0000 (2 13:56 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 6 Dec 2012 08:40:17 +0000 (6 09:40 +0100)
tree34b08e09bd352b3ef032ca0ba7fe1a3b171b7774
parent70a6cc80e3655952bd42cd760f2a9f1d8092fffc
lib/tsocket: optimize syscalls in tstream_readv_pdu_send()

Once we've got the first part of a pdu we try to optimize
readv calls for the rest of the pdu.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 7f83d75a3a666ca1bc6213433344b8017eb4932a)
lib/tsocket/tsocket_helpers.c