Race condition between EOF & MSG_EXIT
jeremybobbin opened this issue · 0 comments
jeremybobbin commented
Run abduco -c abc sh
, then echo $$ > pid
and detach.
Kill sh
: kill $(cat pid)
, then run: echo | abduco -a abc
.
Sometimes, it reads the EOF before the server can respond MSG_EXIT.