Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Handle server-initiated reset #41

Merged
merged 3 commits into from
Oct 24, 2018
Merged

Conversation

keeshux
Copy link
Member

@keeshux keeshux commented Oct 24, 2018

Renegotiation (aka SOFT_RESET) is not currently handled when requested by the server. After 60s, the server would mark the session as a "lame duck" and send a HARD_RESET. The connection may then stop working.

Fixes for when the server sends a spontaneous:

  • SOFT_RESET: initiate a renegotiation.
  • HARD_RESET: shut down the session/socket.

@keeshux keeshux added the bug Something isn't working label Oct 24, 2018
@keeshux keeshux added this to the 1.2.1 milestone Oct 24, 2018
@keeshux keeshux self-assigned this Oct 24, 2018
@keeshux keeshux force-pushed the handle-server-initiated-reset branch from de5e93f to 0d97c5d Compare October 24, 2018 10:29
Session is stale and not recoverable (lame duck).
@keeshux keeshux force-pushed the handle-server-initiated-reset branch from 0d97c5d to b1a79d6 Compare October 24, 2018 10:31
@keeshux keeshux merged commit fe4390e into master Oct 24, 2018
@keeshux keeshux deleted the handle-server-initiated-reset branch October 24, 2018 10:34
@keeshux keeshux modified the milestones: 1.2.1, 1.2.2 Oct 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant