Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to blocking IO in Unix connector #2283

Closed

Conversation

cmouse
Copy link
Contributor

@cmouse cmouse commented Feb 26, 2015

No description provided.

Socat apparently dies when the unix socket is closed at end of program.
@cmouse
Copy link
Contributor Author

cmouse commented Feb 26, 2015

Ready for merge

@a6502
Copy link

a6502 commented Feb 26, 2015

Hi, i think pull #2284 is a better fix for this.

@cmouse
Copy link
Contributor Author

cmouse commented Feb 26, 2015

Copied the timeout idea from #2248 and added guard for write blocking issues.

@Habbie
Copy link
Member

Habbie commented Mar 2, 2015

Both of you please tell me what to do, preferably in agreement :)

@cmouse
Copy link
Contributor Author

cmouse commented Mar 2, 2015

@a6502 can you comment?

@a6502
Copy link

a6502 commented Mar 2, 2015

Ok, how about #2294 instead?

@cmouse
Copy link
Contributor Author

cmouse commented Mar 2, 2015

Is there something wrong with this pull request?

@a6502
Copy link

a6502 commented Mar 2, 2015

cmouse: as it stands, yes, because I don't see any change to the original pull request. Where is the 'copied the timeout idea'?
And I think it is a bit clearer to put the timeout calculation and waitForData in 1 place.

@cmouse cmouse closed this Mar 2, 2015
@cmouse
Copy link
Contributor Author

cmouse commented Mar 2, 2015

@a6502's pull is no worse than this.

@cmouse cmouse deleted the remotebackend-blocking-unixsocket branch March 2, 2015 16:28
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.

None yet

3 participants