Skip to content

Conversation

@spouliot
Copy link
Contributor

11258ee (Manuel de la Pena, 18 hours ago)
[Foundation] Ensure that if a request is canceled we cancel the
NSUrlSessionTask (#1900)

If the request is canceled, the inflight data is cleaned up. That allows us
to know that the NSUrlSessionTask should be canceled, which will execute
the DidCompleteWithError that will take care of the cleanup of resources
and will ensure that everything is back to a known situation.

  • Do check for managed cancelations in the GetInflightData so that it is
    check in all handlers.

5706a6b (Manuel de la Pena, 2 days ago)
[foundation] Honor the cancellation token win the async requests in
NSUrlSessionHandler. Fixes #51423 (#1888)

Do pass the cancelation token in the NSUrlSessionHandler to ensure that if
the request is cancelled we do not hang for ever.

https://bugzilla.xamarin.com/show_bug.cgi?id=51423

Manuel de la Pena added 2 commits March 24, 2017 10:12
…SUrlSessionHandler. Fixes #51423 (dotnet#1888)

Do pass the cancelation token in the NSUrlSessionHandler to ensure that
if the request is cancelled we do not hang for ever.

https://bugzilla.xamarin.com/show_bug.cgi?id=51423
…SessionTask (dotnet#1900)

If the request is canceled, the inflight data is cleaned up. That allows
us to know that the NSUrlSessionTask should be canceled, which will
execute the DidCompleteWithError that will take care of the cleanup of
resources and will ensure that everything is back to a known situation.

* Do check for managed cancelations in the GetInflightData so that it is check in all handlers.
@monojenkins
Copy link
Collaborator

Build success

@spouliot
Copy link
Contributor Author

Identical to PR 1900 and PR 1904

@spouliot spouliot merged commit 97eba39 into dotnet:cycle9 Mar 24, 2017
@spouliot spouliot deleted the bug53794-c9 branch March 24, 2017 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants