TransportSecurityPersister loading may have issues |
|||
Issue descriptionThere's no code preventing both ProfileIOData and ProfileIODataImpl from having their TransportSecurityPersisters load state at the same time. They currently do this on random task runners, so they can both be loading state at the same time. On Windows, generally only one object is allowed to read from a file at a time - the other will be unable to open it. So it looks to me like ProfileIOData and ProfileIODataImpl could prevent the other from loading the TransportSecurityPersister state on Windows. Moreover, if the ProfileIODataImpl prevents ProfileIOData from loading the state, we'll effectively clear the old cached state on shutdown, which seems less than ideal. Admittedly, this isn't a correctness-breaking bug, since this is all best effort, but seems not great. Or am I missing something?
,
Jun 12 2017
Actually, it looks like this regressed over two years ago, in https://codereview.chromium.org/1064393002 (Which...erm...I signed off on myself)
,
Jun 14 2017
[+rdsmith]: Just FYI. As we play with URLRequestContextBuilder an NetworkService configuration going forward, would not be surprised to see more of this sort of thing. :(
,
Feb 16 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by mmenke@chromium.org
, Jun 12 2017