Fix: handle shutdown on recv reply in relayd
authorDavid Goulet <dgoulet@efficios.com>
Wed, 19 Dec 2012 22:51:25 +0000 (17:51 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 19 Dec 2012 22:51:25 +0000 (17:51 -0500)
commit20275fe8f99ff582686a0defbd88de971c98450c
treef9bb4a0219d624ec943475bbabda86b26898fc4c
parent39df6d9f42d8644d9ee25c8c02517b2cef6f5941
Fix: handle shutdown on recv reply in relayd

Print a meaningful error when the recvmsg for the reply gets an orderly
shutdown or an error.

Return a negative value each time since this means that we have to stop
everything for that socket and clean up.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/relayd/relayd.c
This page took 0.032723 seconds and 4 git commands to generate.