Skip to content

[release/5.0] Support multi-buffer sends in WebAssembly WebSockets - #44665

Merged
lewing merged 4 commits into
release/5.0from
backport/pr-44611-to-release/5.0
Nov 18, 2020
Merged

lewing merged 4 commits into
release/5.0from
backport/pr-44611-to-release/5.0

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 13, 2020 •

Copy link
Copy Markdown
Contributor

Backport of #44611 to release/5.0

/cc @BrennanConroy

Customer Impact

Customers using WebSockets and passing endOfMessage: false to SendAsync will receive incomplete messages on the other side. This is very common when using the SignalR client in the browser and we have had multiple customer reports now that 5.0 is out of apps breaking when updating.

Testing

WASM testing is either lacking, or I don't know where to find it. I tested a pure C# version of the change locally to make sure the buffers were added together correctly and that single buffer writes were still fine.

Regression

Yes, this worked in 3.1 and broke in 5.0 when the code was moved from Mono.

Risk

Low, change is fairly small and easy to understand

@ghost

ghost commented Nov 13, 2020

Copy link
Copy Markdown

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Details

Issue Details
Description:

Backport of #44611 to release/5.0

/cc @BrennanConroy

Customer Impact

Testing

Risk

Author: github-actions[bot]
Assignees: -
Labels:

area-System.Net

Milestone: -

@BrennanConroy BrennanConroy added the Servicing-consider Issue for next servicing release review label Nov 13, 2020
@BrennanConroy BrennanConroy added this to the 5.0.x milestone Nov 13, 2020
@BrennanConroy

Copy link
Copy Markdown
Member

Ping reviewers, tactics is looking for approval from mono folks before approving this for servicing.

@lewing lewing left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine from the Mono side

@lewing
lewing self-requested a review November 18, 2020 18:47
@BrennanConroy BrennanConroy added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Nov 18, 2020
@BrennanConroy

BrennanConroy commented Nov 18, 2020 •

Copy link
Copy Markdown
Member

@lewing

lewing commented Nov 18, 2020

Copy link
Copy Markdown
Member

Does this actually have tactics approval. The change is fine from the mono side but I haven't seen the approval?

@BrennanConroy

Copy link
Copy Markdown
Member

The change is fine from the mono side but I haven't seen the approval?

Talked offline, this was approved.

@lewing
lewing merged commit a05d753 into release/5.0 Nov 18, 2020
@lewing

lewing commented Nov 18, 2020

Copy link
Copy Markdown
Member

@BrennanConroy thank you for the help here.

@jkotas
jkotas deleted the backport/pr-44611-to-release/5.0 branch November 21, 2020 02:57
@BrennanConroy BrennanConroy modified the milestones: 5.0.x, 5.0.1 Dec 7, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Jan 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Net Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants