Skip to content

Add the MSG_NOSIGNAL flag to socket send calls to prevent application crash on disconnect on linux systems#37

Merged
tokjun merged 1 commit intoopenigtlink:masterfrom
lassoan:fix-socket-send-crash-on-disconnect
Jul 11, 2014
Merged

Add the MSG_NOSIGNAL flag to socket send calls to prevent application crash on disconnect on linux systems#37
tokjun merged 1 commit intoopenigtlink:masterfrom
lassoan:fix-socket-send-crash-on-disconnect

Conversation

@lassoan
Copy link
Copy Markdown
Contributor

@lassoan lassoan commented May 19, 2014

Without the patch OpenIGTLink crashes when the peer disconnects and we try to send a message.

Tested on Windows (no flag need to be set) and on Linux (the patch fixes the crash).

tokjun added a commit that referenced this pull request Jul 11, 2014
Add the MSG_NOSIGNAL flag to socket send calls to prevent application crash on disconnect on linux systems
@tokjun tokjun merged commit e78e03a into openigtlink:master Jul 11, 2014
@tokjun
Copy link
Copy Markdown
Contributor

tokjun commented Jul 11, 2014

#54

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.

2 participants