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

roscpp/transport_tcp: enable poll event POLLRDHUP to detect dead #1704

Merged
merged 1 commit into from
Aug 7, 2019

Conversation

cwecht
Copy link
Contributor

@cwecht cwecht commented Apr 26, 2019

connections properly.

The poll event POLLRDHUP is needed to detect half-closed connections (source). This is needed to avoid the delay reported in #1699.

@flixr
Copy link
Contributor

flixr commented May 8, 2019

That look great!

Copy link
Contributor

@flixr flixr left a comment

Choose a reason for hiding this comment

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

LGTM.

@flixr
Copy link
Contributor

flixr commented May 11, 2019

I can confirm that this fixes #1699 on Linux

@flixr
Copy link
Contributor

flixr commented Jun 14, 2019

This might also fix the long standing #158

@flixr
Copy link
Contributor

flixr commented Aug 6, 2019

@dirk-thomas friendly ping.... could this please be merged?
I also reviewed and tested this and can confirm it fixes the problem (on Linux).

@dirk-thomas dirk-thomas added the bug label Aug 7, 2019
@dirk-thomas
Copy link
Member

Thanks for the patch.

@protobits
Copy link

Hi, I'm on melodic on Ubuntu Bionic with ros-comm 1.14.3-0bionic.20191008.215948. I'm experiencing #158 (disconnect callback is invoked after long time). I understand this PR was merged after the 1.14.3 release, correct? If so, any idea when the next release (containing this fix) is due?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants