Closed Bug 1547705 Opened 5 years ago Closed 5 years ago

[socket process] Race between canceling the channel and send ODA to child process

Categories

(Core :: Networking, defect, P2)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: kershaw, Assigned: kershaw)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

This bug is found by running this test: netwerk/test/unit_ipc/test_resumable_channel_wrap.js.

The steps that cause this race:

  1. The http channel is canceled at [1].
  2. Before the HttpTransactionChild get the cancel IPC message, ODA is already sent to child process.
  3. Test failed since we don't expect to get ODA if the channel is canceled.

[1] https://searchfox.org/mozilla-central/rev/66086345467c69685434dd1c5177b30a7511b1a5/netwerk/protocol/http/nsHttpChannel.cpp#2644

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: