Bug 244364 - [AppSSO] Adjust life cycle of SOAuthorization to avoid premature cancellation
Summary: [AppSSO] Adjust life cycle of SOAuthorization to avoid premature cancellation
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-08-25 15:08 PDT by Brent Fulgham
Modified: 2022-08-29 15:43 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2022-08-25 15:08:32 PDT
Testing has shown that attempting to share a single SOAuthorization object amongst several active sessions can lead to deadlocks during AppSSO authentication.

Since the SOAuthorization object is meant to be stateless, there is no harm in constructing and destroying it for each type of authentication flow.

This simplifies the logic, and makes it clear which SOAuthorization object is associated with a given load event.
Comment 1 Brent Fulgham 2022-08-25 15:08:53 PDT
<rdar://98413693>
Comment 2 Brent Fulgham 2022-08-25 16:49:24 PDT
Pull request: https://github.com/Webkit/WebKit/pull/3684
Comment 3 EWS 2022-08-29 15:43:02 PDT
Committed 253929@main (bc90c50c6ba8): <https://commits.webkit.org/253929@main>

Reviewed commits have been landed. Closing PR #3684 and removing active labels.