-
Notifications
You must be signed in to change notification settings - Fork 61
fix: prevent EDEADLK self-join in ~CurlHttpOperation on async-thread destruction #1481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bmehta001
wants to merge
34
commits into
microsoft:main
Choose a base branch
from
bmehta001:bhamehta/fix-curl-async-self-join
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
7b43dd4
fix: guard HAVE_MAT_LIVEEVENTINSPECTOR/PRIVACYGUARD against redefinition
bmehta001 fc7375a
fix: prevent EDEADLK self-join in ~CurlHttpOperation on async-thread …
bmehta001 e76fabf
Merge branch 'main' into bhamehta/fix-curl-async-self-join
bmehta001 3554d8d
Make ~CurlHttpOperation detach conditional on self-join (fix UAF regr…
bmehta001 b10fa89
Address Copilot round 2 on #1481: include <new>, handle nothrow-new f…
bmehta001 3dda53b
Address Copilot round 3 on #1481: avoid atomic<thread::id>, fix lifet…
bmehta001 7e22ed2
Address Copilot round 4 on #1481: precise self-join comment, reset fl…
bmehta001 dcbc2a2
Merge branch 'main' into bhamehta/fix-curl-async-self-join
bmehta001 7a14e76
Merge branch 'main' into bhamehta/fix-curl-async-self-join
bmehta001 6bf8f55
Merge remote-tracking branch 'origin/main' into bhamehta/fix-curl-asy…
bmehta001 150e376
Replace std::async with a self-keepalive detached worker (real fix fo…
bmehta001 854f2dd
Merge remote-tracking branch 'fork/bhamehta/fix-curl-async-self-join'…
bmehta001 a12525e
Address Copilot round on #1481: own the body, catch worker exceptions…
bmehta001 23486a6
Address Copilot round 2 on #1481: move body, deterministic test host,…
bmehta001 4ccc9ea
Address Copilot round 3 on #1481: guard worker-thread start, harden t…
bmehta001 f9262e0
Address Copilot round 5 on #1481: <limits> include, broaden thread-st…
bmehta001 a1da06f
Address Copilot round 6 on #1481: guard shared_from_this() in SendAsync
bmehta001 23b6f9a
Correct the body-move comment in SendRequestAsync (#1481 review round 7)
bmehta001 62395c7
Harden NoSelfJoin test timeout path (#1481 review round 8)
bmehta001 9ae7dd5
Move worker-lambda construction inside the try in SendAsync (#1481 re…
bmehta001 1ff4b52
Drop issue-number references from code comments
bmehta001 b1e03d8
Guarantee the callback fires even when Send() throws
bmehta001 cf9bc95
Fix use-after-free dispatching OnDestroy after the completion callback
bmehta001 f2af5ec
Address review: include <utility>, correct OnDestroy comment, harden …
bmehta001 4af8401
Fix two curl-client lifetime issues found in review
bmehta001 89491fd
Harden curl-client shutdown: complete-on-send and skip unsafe global …
bmehta001 9d69b19
Harden the completion-guard regression test against the timeout path
bmehta001 bfabf8c
Clarify ~CurlHttpOperation comment for never-sent and synchronous-fal…
bmehta001 e25c43c
Correct the OnDestroy comment: suppressed once a send is attempted
bmehta001 8e6575b
Wait for the operation to be destroyed in the self-join test's timeou…
bmehta001 d2c69dd
Wait for the operation to be destroyed on the self-join test's succes…
bmehta001 8650ce1
Guarantee async ops are destroyed before teardown in both self-join t…
bmehta001 bd49de4
Hard-stop if a detached curl worker refuses to drain before teardown
bmehta001 42d448c
Fix curl worker shutdown lifetime
bmehta001 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.