Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[io/ssl] Avoid reinitiating racing handshake request.
When other side closes their write socket during us running handhsake, don't repeat handshake. Repeated handshake call results in boringssl secure filter data race between ongoing encryption/decryption sequence and this new handshake call, running concurrently. Fixes #53136 TEST=secure_session_resume_test on TSAN CoreLibraryReviewExempt:no user-visible changes to io functionality Change-Id: I7540b41b15b3a7487a237b6957314e38b078a774 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/366401 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Alexander Aprelev <aam@google.com>
- Loading branch information