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

Various websocket fixes #1736

Merged
merged 2 commits into from
Dec 18, 2023
Merged

Various websocket fixes #1736

merged 2 commits into from
Dec 18, 2023

Conversation

gdamore
Copy link
Contributor

@gdamore gdamore commented Dec 18, 2023

This fixes two hangs on teardown (separate - one in the lister, and one in the dialer), and resolves the RFC 6455 conformance issue for WS_CLOSE frames.

…hutdown

fixes #1733 deadlock in websocket listener close
It's not absolutely clear that this fixes all of the possible
cases, but we're hopeful that this does -- and in any event the
bug does not seem to reproduce easily anymore.
Copy link

codecov bot commented Dec 18, 2023

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (8ccc10b) 79.03% compared to head (9528f41) 79.32%.

Files Patch % Lines
src/supplemental/websocket/websocket.c 88.00% 3 Missing ⚠️
src/supplemental/http/http_server.c 92.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1736      +/-   ##
==========================================
+ Coverage   79.03%   79.32%   +0.28%     
==========================================
  Files          88       88              
  Lines       20208    20223      +15     
==========================================
+ Hits        15971    16041      +70     
+ Misses       4237     4182      -55     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gdamore gdamore merged commit 9528f41 into master Dec 18, 2023
18 checks passed
@gdamore gdamore deleted the gdamore/ws-fixes branch December 18, 2023 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant