Skip to content

[release/6.0] Fix QUIC ConnectionState NRE in HandleEventConnectionClose#57742

Merged
danmoseley merged 2 commits intorelease/6.0from
backport/pr-57655-to-release/6.0
Aug 23, 2021
Merged

[release/6.0] Fix QUIC ConnectionState NRE in HandleEventConnectionClose#57742
danmoseley merged 2 commits intorelease/6.0from
backport/pr-57655-to-release/6.0

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Aug 19, 2021

Backport of #57655 to release/6.0

Moved ConnectionState assignment before msquic callback registration to avoid NRE in callback, in case Connection gets closed during Stream's ctor.

Fixes #55815

/cc @CarnaViire

Customer Impact

It started hurting our CI on 8/17 badly: #55815 (comment)

  • Failures in main branch: 8/17 (11x failures), 8/18 (2x failures)
  • Failures in release/6.0 branches: 8/19 (2x failures), 8/20 (4 x failures)

Testing

CI passed. No new failures in main since merging #57655 (failures in release/6.0 still happen)
The issue is race condition, hard to test in any other way.

Risk

Low, QUIC and H/3 are hidden behind AppContext switch

Loading
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.

4 participants