diff options
author | Tobias Blass <tobiasblass@t-online.de> | 2018-06-20 21:35:15 +0200 |
---|---|---|
committer | Tobias Blass <t-blass@t-blass.de> | 2018-06-20 22:00:45 +0200 |
commit | 482fc48c74361dd8b1adf0f5c14abd8e82f35bf6 (patch) | |
tree | d44415104f661f759db44e36ec2169ecd868c231 /backend/headless/backend.c | |
parent | cc89906ddfe249c59cfa35babf1aeccaae3b5e26 (diff) |
FIX: Suprocess loops endlessly when the control socket closes.
recvmsg(3) returns 0 if the connection partner has shut down its socket.
The communicate function considered 0 a successful message, though, and
keeps calling recvmsg(3) again and again.
Diffstat (limited to 'backend/headless/backend.c')
0 files changed, 0 insertions, 0 deletions