Closed
Bug 189205
Opened 22 years ago
Closed 22 years ago
Implement early shutdown of NSS resources
Categories
(Core Graveyard :: Security: UI, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: KaiE, Assigned: KaiE)
References
Details
Attachments
(2 files)
120.40 KB,
patch
|
javi
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
27.19 KB,
patch
|
Details | Diff | Splinter Review |
For background discussion, see also comments in bug 177260.
We would like to land the portions that were initially posted in that other bug,
and that allow an early shutdown of NSS resources, even if some XPCom objects
are still referenced by the world outside of PSM.
However, we still require a certain level of good behaviour from the outside
world. We require that all SSL sockets must be closed before PSM is asked to
switch the profile.
Assignee | ||
Comment 1•22 years ago
|
||
This patch is mostly the latest patch in 177260, however without the portions
we already checked in.
Note that it contains some printf("=>..."); statements, to allow me some
debugging in optimized builds, I'll of course remove them prior to checking it
in.
Assignee | ||
Comment 2•22 years ago
|
||
This patch has the changes to reenable the call to NSS_Shutdown as requested in
bug 187501, and it also has the code to fix the leaks as reported in bugs 189041
and 189042.
Assignee | ||
Comment 3•22 years ago
|
||
This is a subset, all this code is contained in the other patch, too. These are
the changes that implement the tracking and early shutdown logic. All the other
changes in the larger patch simply make use of that logic, most of it is
automatic variables that track the active context.
Assignee | ||
Updated•22 years ago
|
Attachment #111625 -
Flags: superreview?(darin)
Attachment #111625 -
Flags: review?(javi)
Comment 4•22 years ago
|
||
Comment on attachment 111625 [details] [diff] [review]
Patch v54
r=javi
Attachment #111625 -
Flags: review?(javi) → review+
Comment 5•22 years ago
|
||
Comment on attachment 111625 [details] [diff] [review]
Patch v54
sr=darin
Attachment #111625 -
Flags: superreview?(darin) → superreview+
Assignee | ||
Comment 6•22 years ago
|
||
Patch checked in to trunk, marking fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•