* machinarium/socket: fix enable usage
Seems like it was always set to 1 by mistake.
Signed-off-by: Roman Khapov <rkhapov@yandex-team.ru>
* sources/sighandler.c: fix SIGPIPE ignoring
Seems like it was added into mask but not in ignore_mask by mistake.
This patchs will not change any behaviour because now there is no
SIGPIPE section in switch, which handles signals in oddyssey machine.
Signed-off-by: Roman Khapov <rkhapov@yandex-team.ru>
* tests/oddyssey_test.c: add SIGPIPE ignoring
For now, tests doesn't have SIGPIPE ignoring.
This will lead to flaky behaviour for some tests (like tls unix socket),
because of the race for reading messages from closed socket.
This patch adds some new tests for closed socket reading and adds
SIGPIPE ignoring for odyssey_test.c
Signed-off-by: Roman Khapov <rkhapov@yandex-team.ru>
---------
Signed-off-by: Roman Khapov <rkhapov@yandex-team.ru>