Closed Bug 1643382 Opened 4 years ago Closed 4 years ago

[socket process] make sure we don't leak HttpBackgroundChannelChild and BackgroundDataBridgeChild

Categories

(Core :: Networking, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: kershaw, Assigned: kershaw)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(2 files)

There is a cycle between HttpBackgroundChannelChild and BackgroundDataBridgeChild, which is easily to leak when something goes wrong.
The best way is to avoid this cycle.

Severity: -- → N/A
Whiteboard: [necko-triaged]

Depends on D79254

Attachment #9155875 - Attachment description: Bug 1643382 - P1: BackgroundDataBridgeChild and HttpBackgroundChannelChild don't need to be a cycle → Bug 1643382 - P1: BackgroundDataBridgeChild and HttpBackgroundChannelChild don't need to be a cycle, r=dragana
Attachment #9155876 - Attachment description: Bug 1643382 - P2: Clean background channel after redirect is completed → Bug 1643382 - P2: Clean background channel after redirect is completed, r=dragana
Attachment #9155875 - Attachment description: Bug 1643382 - P1: BackgroundDataBridgeChild and HttpBackgroundChannelChild don't need to be a cycle, r=dragana → Bug 1643382 - P1: BackgroundDataBridgeChild and HttpBackgroundChannelChild don't need to be a cycle
Attachment #9155876 - Attachment description: Bug 1643382 - P2: Clean background channel after redirect is completed, r=dragana → Bug 1643382 - P2: Clean background channel after redirect is completed
Pushed by kjang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0b909ae0f6d6
P1: BackgroundDataBridgeChild and HttpBackgroundChannelChild don't need to be a cycle r=dragana
https://hg.mozilla.org/integration/autoland/rev/692f6a455ec8
P2: Clean background channel after redirect is completed r=dragana
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: