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 support for passive connection lost checking #1290

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Nov 1, 2022

  1. Add support for passive connection lost checking

    When both ends of a WebSocket connection need to know when the
    connection is lost, both sending pings is redundant, as a received ping
    already indicates that the peer is still connected.
    
    Add an optional boolean parameter to the setConnectionLostTimeout()
    method, which when set to true makes the connection lost cheking
    passive, i.e. the check never sends out pings, but only checks whether
    an incoming ping was received recently enough.
    
    For passive connection lost checking, the peer must be known to do
    active connection lost checking with a timeout equal (or lower) than the
    one locally used.
    robert-s-ubi committed Nov 1, 2022
    Configuration menu
    Copy the full SHA
    f66c209 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. Configuration menu
    Copy the full SHA
    9b17b74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d3c69b View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1 from ubitricity/support-other-http-error-codes

    Support other http error codes
    robert-s-ubi committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    6950895 View commit details
    Browse the repository at this point in the history