Closed Bug 1895319 Opened 4 months ago Closed 3 months ago

refactor http3server to use neqo-bin for I/O, timers, event-loop etc.

Categories

(Core :: Networking, enhancement, P2)

Firefox 125
enhancement

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: mail, Assigned: mail)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(4 files, 1 obsolete file)

Actual results:

There are two server implementations based on neqo:

  1. https://github.com/mozilla/neqo/tree/main/neqo-bin/src/server

    • http3 and http09 implementation
    • used for manual testing and QUIC Interop
  2. https://searchfox.org/mozilla-central/source/netwerk/test/http3server/src/main.rs

    • used to test Firefox

I assume one was once an exact copy of the other. Both implement their own I/O, timers, event loop, ... Since then, the two implementations diverged significantly. Especially (1) saw a lot of improvements in recent months:

At this point, bugs in (2) are hard to fix, see e.g. https://github.com/mozilla/neqo/issues/1801.

Expected results:

The goal of this Bugzilla bug is for (2) to leverage (1), thus removing all duplicate logic and having (2) benefit from all the recent improvements to (1).


I will attach a commit via phabricator shortly. First time. Please bear with me.

Assignee: nobody → mail
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

The Bugbug bot thinks this bug should belong to the 'Core::Networking' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Networking
Product: Firefox → Core
Severity: -- → N/A
Priority: -- → P2
Whiteboard: [necko-triaged]
Attachment #9401941 - Attachment is obsolete: true
Attachment #9400301 - Attachment description: Bug 1895319 - refactor http3server to use neqo-bin for I/O, timers, event-loop etc. r?kershaw → Bug 1895319 - refactor http3server to use neqo-bin for I/O, timers, event-loop etc. r=#necko
Pushed by kjang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/727b6d605b4c
neqo v0.7.8, r=necko-reviewers,valentin
https://hg.mozilla.org/integration/autoland/rev/51506d5e23ba
Patch socket2 to 0.5, r=glandium,supply-chain-reviewers
https://hg.mozilla.org/integration/autoland/rev/e9579777256e
vendor neqo-bin, r=necko-reviewers,supply-chain-reviewers,valentin
https://hg.mozilla.org/integration/autoland/rev/82e0af79b39c
refactor http3server to use neqo-bin for I/O, timers, event-loop etc. r=necko-reviewers,valentin,glandium,supply-chain-reviewers
Regressions: 1898185
Blocks: 1825468
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: