Closed Bug 1825468 Opened 2 years ago Closed 3 months ago

Move http3server off mio 0.6

Categories

(Core :: Networking, task, P2)

task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: glandium, Unassigned)

References

Details

(Whiteboard: [necko-triaged])

Now that the old audioipc code is gone (bug 1697845), finally removing tokio 0.1, http3server is the only remaining use of mio 0.6. I've taken a quick look at upgrading to mio 0.8, but because of the whole deal with timeouts and how mio doesn't handle them anymore, it's not a straightforward change, unfortunately. It kind of feels like http3server could move entirely to tokio, but that seems like a lot of extra work.

Valentin, Kershaw, any opinions?

Flags: needinfo?(valentin.gosu)
Flags: needinfo?(kershaw)

(In reply to Mike Hommey [:glandium] from comment #0)

Now that the old audioipc code is gone (bug 1697845), finally removing tokio 0.1, http3server is the only remaining use of mio 0.6. I've taken a quick look at upgrading to mio 0.8, but because of the whole deal with timeouts and how mio doesn't handle them anymore, it's not a straightforward change, unfortunately. It kind of feels like http3server could move entirely to tokio, but that seems like a lot of extra work.

Valentin, Kershaw, any opinions?

I agree that http3server needs to move to tokio, since using tokio should make us maintain http3server more easily.
What's the priority of this bug? If not really high, I can put this in my to-do list.

Flags: needinfo?(kershaw)

Not high, no.

Let's make it a P2 then.

Severity: -- → N/A
Flags: needinfo?(valentin.gosu)
Priority: -- → P2
Whiteboard: [necko-triaged]

Upgrading mio has some the issue that the timer module was deprecated and removed, therefore we can't use the timer anymore for handling neqo timers.

Upgrading might help fixing some intermittents on windows:

We might need to switch to something else like std with threading or async or some other lib that can provide timers.

mio 0.6 was removed in bug 1895319

Status: NEW → RESOLVED
Closed: 3 months ago
Depends on: 1895319
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.