DescriptionMake HttpNetworkTransaction no longer own a reference to HttpNetworkSession.
It is a bug if anything is holding on to a transaction after the levels of
the network stack above the Session are destroyed, so there's no reason to hold
on to the reference.
There have historically been a number of such bugs, and they currently produce
useless crash stack traces, which show crashes as callbacks try to call into
deleted higher level objects. This should hopefully make them crash more
consistently, with more useful stack traces when owners of these requests
delete them in the absence of the network stack, assuming nothing else is holding
on to the HttpNetworkSession.
BUG=295344, 294910
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229081
Patch Set 1 #Patch Set 2 : sync #Patch Set 3 : Fix test #
Total comments: 9
Patch Set 4 : Response to wtc's comments #
Total comments: 2
Patch Set 5 : Response to wtc's comment #Patch Set 6 : Sync, fix new test #
Messages
Total messages: 16 (0 generated)
|