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

Implement stream management requesting ACKs #1005

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 14, 2023

  1. Implement stream management requesting ACKs

    Queue outgoing stanzas and periodically request ACK.  Remove from the
    queue anything ack'd and notify of the ack so apps can know the stanza
    has for sure sent.
    
    On resume, anything not ack'd is re-sent.  On reconnect, anything not
    ack'd notify of the failure to send this stanza so apps can know the
    stanza failed.
    
    Even when there is no traffic, send an <r/> at least every 5 minutes to check the
    connection.  If there is no inbound traffic (such as an <a/>) within
    timeout (default 60 seconds) then consider the connection disconnected.
    singpolyma committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    e2f73fd View commit details
    Browse the repository at this point in the history