]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pipe: handle missing MSG_MORE and MSG_NOSIGNAL
authorNoah Watkins <noahwatkins@gmail.com>
Mon, 22 Jul 2013 00:08:53 +0000 (17:08 -0700)
committerNoah Watkins <noahwatkins@gmail.com>
Sat, 4 Jan 2014 17:18:04 +0000 (09:18 -0800)
commit6342d05195ce15ff09ed7395b595ce48e25c4278
tree58e4062b6233f6b7b97f1e362d9053640691564c
parent26c07d97adaceab38278d0e706143f47623bd5e2
pipe: handle missing MSG_MORE and MSG_NOSIGNAL

On OSX (and currently any platform missing the MSG_MORE
macro) the MSG_MORE optimization is disabled. The MSG_NOSIGNAL flag is
available on OSX but is called SO_NOSIGPIPE and must be set via
setsockopt.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
src/msg/Pipe.cc