Closed Bug 1713796 Opened 4 years ago Closed 4 years ago

Refactor nsHostResolver

Categories

(Core :: Networking: DNS, task, P2)

task

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: kershaw, Assigned: kershaw)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(3 files)

I'd like to refactor nsHostResolver a bit.
Things to be done in this bug would be:

  • Move the implementation of nsHostRecord to another file.
  • Move the logic of en/dequeue to another file.
  • Make nsHostResolver::ResolveHost function a bit short by moving the code to another function.
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9fd0ba528af1 P1: Move nsHostRecord to another file, r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/38ca3b251cac P2: Take some code from nsHostResolver::ResolveHost and put them to other functions, r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/52a67ce78459 P3: Move the code related to pending queue out of nsHostResolver, r=necko-reviewers,valentin
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
Regressions: 1719135
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: