Skip to content

fix bug where attaching to dead session won't give underlying exit code#45

Open
jeremybobbin wants to merge 1 commit into
martanne:masterfrom
jeremybobbin:for-marc
Open

fix bug where attaching to dead session won't give underlying exit code#45
jeremybobbin wants to merge 1 commit into
martanne:masterfrom
jeremybobbin:for-marc

Conversation

@jeremybobbin

Copy link
Copy Markdown

If dvtm dies, and you run :|abduco -a session, abduco will often exit
without giving you the exit code, and without removing the socket from
~/.abduco.

We resolve this by first sending the client either an EXIT or an empty
CONTENT packet.

Only after the client recieves it, we set the socket to non-blocking.

Fixes: #44

If dvtm dies, and you run `:|abduco -a session`, abduco will often exit
without giving you the exit code, and without removing the socket from
~/.abduco.

We resolve this by first sending the client either an EXIT or an empty
CONTENT packet.

Only after the client recieves it, we set the socket to non-blocking.

Fixes: martanne#44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Race condition between EOF & MSG_EXIT

1 participant