New issue
Advanced search Search tips

Issue 669145 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Jan 4
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug

Blocking:
issue 617560



Sign in to add a comment

CRNHTTPProtocolHandler should register as URLRequestContextGetterObserver

Project Member Reported by mef@chromium.org, Nov 28 2016

Issue description

This issue is somewhat speculative based on observations in Issue 617560.

Version: M54
OS: iOS

What steps will reproduce the problem?
(1) Register CRNHTTPProtocolHandler using NSURLProtocol registerClass method.
(2) Create NSURLSessionDataTask and start it, but don't complete.
(3) Shutdown underlying net::URLRequestContext. 

What is the expected result?
Active requests should be canceled.

What happens instead?
net::URLRequestContext::AssertNoURLRequests is triggered.


 

Comment 1 by mef@chromium.org, Nov 28 2016

Cc: mmenke@chromium.org

Comment 2 by mmenke@chromium.org, Nov 28 2016

Seems like the bug is actually that something that uses the URLRequestContext is being destroyed after the URLRequestContext is destroyed.

Comment 3 by pkl@chromium.org, Nov 28 2016

Cc: bzanotti@chromium.org
Owner: mef@chromium.org
Status: Assigned (was: Untriaged)
mef: Is this something that you will work on?

Comment 4 by mef@chromium.org, Nov 28 2016

Yes, I'll try to reproduce it.
Components: Internals>Network>Library

Comment 6 by mmenke@chromium.org, Mar 23 2017

Cc: -mmenke@chromium.org
Cc: -bzanotti@chromium.org
Status: Archived (was: Assigned)

Sign in to add a comment