Bug 1916412 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

https://bugzilla.mozilla.org/show_bug.cgi?id=1910360 replaced NSPR with quinn-udp for HTTP3 QUIC UDP IO on Firefox Nightly.

Calls to `recvmmsg` were prohibited by seccomp on Android x86. See https://bugzilla.mozilla.org/show_bug.cgi?id=1910594.

Upstream quinn-udp tracking issue: https://github.com/quinn-rs/quinn/issues/1947

Upstream quinn-udp fix: https://github.com/quinn-rs/quinn/pull/1966

Now that upstream fix is merged and released, we should upgrade to `quinn-udp` `v0.5.5` and then use quinn-udp on Android x86 on Nightly as well.

```diff
modified   modules/libpref/init/StaticPrefList.yaml
@@ -13695,14 +13695,7 @@
 # Use NSPR for HTTP3 UDP IO
 - name: network.http.http3.use_nspr_for_io
   type: RelaxedAtomicBool
-# Always use NSPR on Android x86. On Android x86 sendmsg and recvmmsg, both used
-# by quinn-udp, are disallowed by seccomp. Future fix and further details
-# tracked in https://github.com/quinn-rs/quinn/issues/1947.
-#if defined(ANDROID) && !defined(HAVE_64BIT_BUILD)
-  value: true
-#else
   value: @IS_NOT_NIGHTLY_BUILD@
-#endif
   mirror: always
```

I will follow-up with a patch.
https://bugzilla.mozilla.org/show_bug.cgi?id=1910360 replaced NSPR with `quinn-udp` for HTTP3 QUIC UDP IO on Firefox Nightly.

Calls to `recvmmsg` were prohibited by seccomp on Android x86. See https://bugzilla.mozilla.org/show_bug.cgi?id=1910594.

Upstream `quinn-udp` tracking issue: https://github.com/quinn-rs/quinn/issues/1947

Upstream `quinn-udp` fix: https://github.com/quinn-rs/quinn/pull/1966

Now that upstream fix is merged and released, we should upgrade to `quinn-udp` `v0.5.5` and then use `quinn-udp` on Android x86 on Nightly as well.

```diff
modified   modules/libpref/init/StaticPrefList.yaml
@@ -13695,14 +13695,7 @@
 # Use NSPR for HTTP3 UDP IO
 - name: network.http.http3.use_nspr_for_io
   type: RelaxedAtomicBool
-# Always use NSPR on Android x86. On Android x86 sendmsg and recvmmsg, both used
-# by quinn-udp, are disallowed by seccomp. Future fix and further details
-# tracked in https://github.com/quinn-rs/quinn/issues/1947.
-#if defined(ANDROID) && !defined(HAVE_64BIT_BUILD)
-  value: true
-#else
   value: @IS_NOT_NIGHTLY_BUILD@
-#endif
   mirror: always
```

I will follow-up with a patch.

Back to Bug 1916412 Comment 0