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

fix (client): Add ability to locally close connection on timeout #1453

Merged
merged 1 commit into from Jan 11, 2022

Conversation

jamdavi
Copy link
Member

@jamdavi jamdavi commented Jan 11, 2022

When the IoT Hub client times out for a keep alive, usually it will send a close packet which will be acknowledged by the client and gracefully shut down the connection. In some cases if the TCP socket is unresponsive but not yet closed it will cause the Close packet to be lost and the client will hang indefinitely.

This change allows for us to check to see if the connection has been closed by proton-j and call our local close methods to allow the client and customer to react to this situation.

@jamdavi
Copy link
Member Author

jamdavi commented Jan 11, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

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

4 participants