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

Also send ping when no message has been read for the keep alive time #357

Merged
merged 3 commits into from
Feb 14, 2020

Conversation

SgtSilvio
Copy link
Member

Motivation
Ping should detect all half open connections.
When the client only sends QoS 0 messages and does not receive messages, no ping is currently sent as there is write activity. Instead a ping should be sent to force the server to send a pingresp.

Changes

  • Also send ping in absense of read activity

@cla-bot cla-bot bot added the cla-signed label Dec 15, 2019
@SgtSilvio SgtSilvio self-assigned this Dec 15, 2019
@SgtSilvio SgtSilvio added this to the 1.2 milestone Dec 15, 2019
@SgtSilvio SgtSilvio force-pushed the improvement/ping-qos0 branch from 4932452 to 9009cb4 Compare January 17, 2020 11:35
@SgtSilvio SgtSilvio requested a review from gitseti January 22, 2020 13:06
@SgtSilvio SgtSilvio force-pushed the improvement/ping-qos0 branch from 9009cb4 to 6ab0e17 Compare February 5, 2020 07:45
@SgtSilvio SgtSilvio modified the milestones: 1.2, 1.1.4 Feb 14, 2020
@SgtSilvio SgtSilvio merged commit 4315ced into develop Feb 14, 2020
@SgtSilvio SgtSilvio deleted the improvement/ping-qos0 branch February 14, 2020 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants