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

Add a timeout argument to TCPClient #47

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Conversation

stuart-auterion
Copy link
Contributor

Essentially I'm re-making #29. Finally tracked down a reproducible cause for this. Refer to thread here. I'll be honest, I'm not an expert on Unix sockets, and don't entirely understand why, but something here is getting help open and blocking. Its clearly blocking something in the sockets layer because our application code that calls this is already in an independent thread and shouldn't care if that application thread itself is blocked.

Regardless, the timeout I added is an optional argument that shouldn't affect anything if it isn't used.

Copy link

@jacobbandyk jacobbandyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the issue I was facing in QGC-Gov

@ThomasDebrunner ThomasDebrunner merged commit 7d82dca into main Jun 13, 2024
4 checks passed
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.

3 participants