Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

HTTP2: Ensure we don't try to send RST_STREAM or EndStream while holding the stream lock#40123

Merged
geoffkizer merged 1 commit intodotnet:masterfrom
geoffkizer:fix40115
Aug 9, 2019
Merged

HTTP2: Ensure we don't try to send RST_STREAM or EndStream while holding the stream lock#40123
geoffkizer merged 1 commit intodotnet:masterfrom
geoffkizer:fix40115

Conversation

@geoffkizer
Copy link

Fixes #40115

Sending a frame -- specifically, calling SendRstStreamAsync or SendEndStreamAsync -- can fail, which causes active streams to be aborted. Avoid doing this under the stream lock, to prevent lock reentrancy issues.

@danmosemsft This will need to get ported to 3.0

@geoffkizer geoffkizer added this to the 3.0 milestone Aug 7, 2019
@geoffkizer geoffkizer requested review from a team and stephentoub August 7, 2019 22:25
@karelz karelz modified the milestones: 3.0, 5.0 Aug 8, 2019
@geoffkizer geoffkizer merged commit 719b8fb into dotnet:master Aug 9, 2019
geoffkizer added a commit to geoffkizer/corefx that referenced this pull request Aug 9, 2019
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Http2Stream.OnReset assertion failed exception running test on macOS: OSX.1013.Amd64.Open.

3 participants