Skip to content

Conversation

@john-markham
Copy link

@john-markham john-markham commented Apr 7, 2025

Simpler approach to graceful shut down than #3638. Got this idea from following the discussion around gorilla/websocket#248

Relying explicitly on the handshake complicates the implementation past what I think is worth it if alternatives like this could get us 80% of the way there.

I'm still validating that hypothesis. Work to address #3633

I have:

  • Added tests covering the bug / feature (see testing)
  • Updated any relevant documentation (see docs)

@john-markham john-markham force-pushed the ws-close-grace-period branch from 9461546 to 1a8cbc6 Compare April 7, 2025 22:29
@john-markham john-markham marked this pull request as ready for review April 7, 2025 23:47
@john-markham john-markham changed the title Add graceful shutdown grace period Add websocket shutdown grace period Apr 7, 2025
@john-markham john-markham marked this pull request as draft April 8, 2025 00:28
@StevenACoffman
Copy link
Collaborator

@john-markham Hey, I'm just curious what the status of this is. There was a flurry of other websocket activity, and I got confused where this PR fits with all that.

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