Skip to content
Snippets Groups Projects
Commit 1c2fbb9e authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

main ipc_activity: misc improvements

Stop IPC after getting an error.  One point is the situation when one
of the forks ends for some reason, which lead to problems.
Another point is pipes getting out of sync.

Smaller changes:
- don't free the handle while it's still half-in-use
- don't fully panic here because of ENOMEM, just stop IPC

Fixes https://gitlab.labs.nic.cz/knot/knot-resolver/issues/150
parent fe7b7381
Branches
Tags
1 merge request!361main ipc_activity: misc improvements
Pipeline #14382 failed with stages
in 4 minutes and 9 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment