Add MSG_WAITALL to recvmsg of sessiond-comm
authorDavid Goulet <dgoulet@efficios.com>
Tue, 24 Jan 2012 15:17:30 +0000 (10:17 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 24 Jan 2012 15:17:30 +0000 (10:17 -0500)
commit8266852eb71adbd61c13655dd1afdf6bffe2da6c
treef4f3b64b14d0b71411a4504b3c7bd37eb8d8294c
parent4466912fc280873b6432973b287a48bf9c959b6c
Add MSG_WAITALL to recvmsg of sessiond-comm

Get the complete message on receive. We do not handle receiving split
data with the lttcomm_recv_unix_sock which is *not* good but for now we
will simply add this flag since every call should block anyway and does
not require any other funky flags.

This issue was detected with the kernel events listing failing by
sending half of the data half the time.

Reported-by: Daniel Thibault <daniel.thibault@drdc-rddc.gc.ca>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/sessiond-comm/sessiond-comm.c
This page took 0.025086 seconds and 4 git commands to generate.