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

Websocket inline #1992

Merged
merged 2 commits into from
Dec 16, 2024
Merged

Websocket inline #1992

merged 2 commits into from
Dec 16, 2024

Conversation

gdamore
Copy link
Contributor

@gdamore gdamore commented Dec 16, 2024

fixes #

Note that the above format should be used in your git commit comments.
You agree that by submitting a PR, you have read and agreed to our
contributing guidelines.

This also fixes a possible race in the listener that may cause
connections to be dropped incorrectly, if the connection arrives
before the common layer has posted an accept request.

Instead we save the connection and potentially match later, like
we do for the other protocols that need to negotiate.
We can retire the old approach that used separate allocations,
and all of the supporting code.  This also gives us a more
natural signature for the end point initializations.
Copy link

codecov bot commented Dec 16, 2024

Codecov Report

Attention: Patch coverage is 95.23810% with 4 lines in your changes missing coverage. Please review.

Project coverage is 81.97%. Comparing base (58df588) to head (ab460d5).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/sp/transport/ws/websocket.c 92.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1992      +/-   ##
==========================================
- Coverage   82.00%   81.97%   -0.03%     
==========================================
  Files          95       95              
  Lines       24124    24027      -97     
  Branches     3181     3165      -16     
==========================================
- Hits        19782    19696      -86     
+ Misses       4269     4260       -9     
+ Partials       73       71       -2     

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

@gdamore gdamore merged commit ab460d5 into main Dec 16, 2024
18 of 19 checks passed
@gdamore gdamore deleted the websocket-inline branch December 16, 2024 05:49
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