lib/tsocket: disable the syscall optimization for recvfrom/readv by default
commite42889f83f261e2ac34014649476fae638a6e1f2
authorStefan Metzmacher <metze@samba.org>
Fri, 2 Nov 2012 12:45:49 +0000 (2 13:45 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 5 Nov 2012 16:13:39 +0000 (5 17:13 +0100)
treeef8bb82176ed890b5d2c976e3f10b4441742c0a5
parent71e1c080cbd033b3118952c2da05186252fc411a
lib/tsocket: disable the syscall optimization for recvfrom/readv by default

We only do the optimization on recvfrom/readv if the caller asked for it.

This is needed because in most cases we preferr to flush send
buffers before receiving incoming requests.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
lib/tsocket/tsocket.h
lib/tsocket/tsocket_bsd.c