Skip to content

chore: default SCONE to off - #3492

Merged
larseggert merged 1 commit into
mozilla:mainfrom
omansfeld:scone_off
Mar 18, 2026
Merged

larseggert merged 1 commit into
mozilla:mainfrom
omansfeld:scone_off

Conversation

@omansfeld

Copy link
Copy Markdown
Collaborator

Copilot AI review requested due to automatic review settings March 18, 2026 09:14
@larseggert
larseggert enabled auto-merge March 18, 2026 09:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR changes the default ConnectionParameters behavior in neqo-transport to stop advertising SCONE by default, aligning with the v0.24.0 release preparation needs while retaining SCONE-related robustness fixes.

Changes:

  • Set ConnectionParameters::default().scone to false so the Scone transport parameter is no longer sent by default.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread neqo-transport/src/connection/params.rs Resolved
@codecov

codecov Bot commented Mar 18, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.19%. Comparing base (946789c) to head (cc88a49).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3492      +/-   ##
==========================================
- Coverage   94.30%   94.19%   -0.12%     
==========================================
  Files         127      131       +4     
  Lines       38728    39058     +330     
  Branches    38728    39058     +330     
==========================================
+ Hits        36522    36789     +267     
- Misses       1365     1421      +56     
- Partials      841      848       +7     
Flag Coverage Δ
freebsd 93.23% <100.00%> (-0.09%) ⬇️
linux 94.29% <100.00%> (-0.02%) ⬇️
macos 94.18% <100.00%> (+0.01%) ⬆️
windows 94.29% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
neqo-common 98.49% <ø> (ø)
neqo-crypto 86.90% <ø> (ø)
neqo-http3 93.91% <ø> (ø)
neqo-qpack 94.81% <ø> (ø)
neqo-transport 95.23% <100.00%> (-0.02%) ⬇️
neqo-udp 82.55% <ø> (-0.43%) ⬇️
mtu 86.61% <ø> (ø)

@mxinden

mxinden commented Mar 18, 2026

Copy link
Copy Markdown
Member

Does disabling it prevent #3458? The decoding logic would still be reachable, no?

@larseggert
larseggert added this pull request to the merge queue Mar 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Failed Interop Tests

QUIC Interop Runner, client vs. server, differences relative to main at 946789c.

neqo-pr as clientneqo-pr as server
neqo-pr vs. go-x-net: BP BA
neqo-pr vs. haproxy: ⚠️L1 BP BA
neqo-pr vs. kwik: S L1 C1 BP BA
neqo-pr vs. lsquic: run cancelled after 20 min
neqo-pr vs. msquic: A L1 C1
neqo-pr vs. mvfst: H DC LR M R Z 3 B U A L1 L2 C1 C2 6 BP BA
neqo-pr vs. neqo: Z A ⚠️BP
neqo-pr vs. nginx: BP BA
neqo-pr vs. ngtcp2: CM
neqo-pr vs. picoquic: A
neqo-pr vs. quic-go: A
neqo-pr vs. quiche: BP BA
neqo-pr vs. s2n-quic: 🚀BP BA CM
neqo-pr vs. tquic: S BP BA
neqo-pr vs. xquic: A 🚀L1 ⚠️C1
aioquic vs. neqo-pr: Z CM
go-x-net vs. neqo-pr: CM
kwik vs. neqo-pr: 🚀Z BP BA CM
linuxquic vs. neqo-pr: Z
lsquic vs. neqo-pr: Z
msquic vs. neqo-pr: Z 🚀BP CM
mvfst vs. neqo-pr: Z A L1 C1 CM
neqo vs. neqo-pr: Z A
openssl vs. neqo-pr: LR M A CM
picoquic vs. neqo-pr: Z CM
quic-go vs. neqo-pr: 🚀Z CM
quiche vs. neqo-pr: Z CM
quinn vs. neqo-pr: Z V2 CM
s2n-quic vs. neqo-pr: 🚀BP CM
tquic vs. neqo-pr: Z CM
xquic vs. neqo-pr: M CM
All results

Succeeded Interop Tests

QUIC Interop Runner, client vs. server

neqo-pr as client

neqo-pr as server

Unsupported Interop Tests

QUIC Interop Runner, client vs. server

neqo-pr as client

neqo-pr as server

Merged via the queue into mozilla:main with commit 8d29484 Mar 18, 2026
177 of 178 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Client/server transfer results

Performance differences relative to 946789c.

Transfer of 33554432 bytes over loopback, min. 100 runs. All unit-less numbers are in milliseconds.

Client vs. server (params) Mean ± σ Min Max MiB/s ± σ Δ baseline Δ baseline
neqo-s2n-cubic 216.7 ± 3.8 211.6 227.4 147.7 ± 8.4 💚 -1.4 -0.6%
quiche-neqo-cubic 181.6 ± 6.6 170.6 212.5 176.3 ± 4.8 💔 2.1 1.2%
s2n-neqo-cubic 220.6 ± 5.0 212.4 231.4 145.1 ± 6.4 💚 -2.1 -0.9%

Table above only shows statistically significant changes. See all results below.

All results

Transfer of 33554432 bytes over loopback, min. 100 runs. All unit-less numbers are in milliseconds.

Client vs. server (params) Mean ± σ Min Max MiB/s ± σ Δ baseline Δ baseline
google-google-nopacing 450.1 ± 4.4 442.6 466.1 71.1 ± 7.3
google-neqo-cubic 270.7 ± 4.0 263.5 278.1 118.2 ± 8.0 0.7 0.3%
msquic-msquic-nopacing 179.7 ± 76.0 117.2 513.3 178.0 ± 0.4
msquic-neqo-cubic 184.4 ± 64.8 127.3 479.9 173.5 ± 0.5 -15.3 -7.6%
neqo-google-cubic 749.5 ± 4.1 742.1 761.8 42.7 ± 7.8 -0.6 -0.1%
neqo-msquic-cubic 153.8 ± 4.1 147.0 162.1 208.1 ± 7.8 0.7 0.5%
neqo-neqo-cubic 96.3 ± 4.6 87.7 108.2 332.4 ± 7.0 -1.2 -1.2%
neqo-neqo-cubic-nopacing 96.4 ± 5.1 86.6 118.2 331.8 ± 6.3 0.0 0.0%
neqo-neqo-newreno 96.2 ± 4.1 87.6 104.9 332.6 ± 7.8 -0.6 -0.7%
neqo-neqo-newreno-nopacing 96.2 ± 4.6 86.9 106.1 332.7 ± 7.0 0.3 0.3%
neqo-quiche-cubic 190.8 ± 3.5 185.9 204.8 167.7 ± 9.1 -0.5 -0.3%
neqo-s2n-cubic 216.7 ± 3.8 211.6 227.4 147.7 ± 8.4 💚 -1.4 -0.6%
quiche-neqo-cubic 181.6 ± 6.6 170.6 212.5 176.3 ± 4.8 💔 2.1 1.2%
quiche-quiche-nopacing 142.3 ± 4.8 134.6 155.6 224.8 ± 6.7
s2n-neqo-cubic 220.6 ± 5.0 212.4 231.4 145.1 ± 6.4 💚 -2.1 -0.9%
s2n-s2n-nopacing 298.0 ± 26.8 277.9 392.6 107.4 ± 1.2

Download data for profiler.firefox.com or download performance comparison data.

@mxinden

mxinden commented Mar 18, 2026

Copy link
Copy Markdown
Member

Does disabling it prevent #3458? The decoding logic would still be reachable, no?

@larseggert thoughts?

@github-actions

Copy link
Copy Markdown
Contributor

Benchmark results

Significant performance differences relative to 8d29484.

transfer/1-conn/1-100mb-req (aka. Upload)/mtu-1504: 💔 Performance has regressed by +1.7078%.
       time:   [210.78 ms 211.18 ms 211.67 ms]
       thrpt:  [472.43 MiB/s 473.53 MiB/s 474.43 MiB/s]
change:
       time:   [+1.3765% +1.7078% +2.0148] (p = 0.00 < 0.05)
       thrpt:  [-1.9750% -1.6791% -1.3578]
       Performance has regressed.
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high severe
All results
transfer/1-conn/1-100mb-resp (aka. Download)/mtu-1504: Change within noise threshold.
       time:   [207.44 ms 207.76 ms 208.08 ms]
       thrpt:  [480.57 MiB/s 481.34 MiB/s 482.07 MiB/s]
change:
       time:   [+0.6077% +0.8347% +1.0502] (p = 0.00 < 0.05)
       thrpt:  [-1.0393% -0.8278% -0.6040]
       Change within noise threshold.
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high mild
transfer/1-conn/10_000-parallel-1b-resp (aka. RPS)/mtu-1504: Change within noise threshold.
       time:   [282.58 ms 284.53 ms 286.50 ms]
       thrpt:  [34.904 Kelem/s 35.146 Kelem/s 35.389 Kelem/s]
change:
       time:   [-2.3446% -1.3745% -0.4536] (p = 0.01 < 0.05)
       thrpt:  [+0.4557% +1.3936% +2.4009]
       Change within noise threshold.
transfer/1-conn/1-1b-resp (aka. HPS)/mtu-1504: No change in performance detected.
       time:   [38.657 ms 38.796 ms 38.955 ms]
       thrpt:  [25.671   B/s 25.776   B/s 25.869   B/s]
change:
       time:   [-0.2187% +0.3014% +0.8346] (p = 0.26 > 0.05)
       thrpt:  [-0.8276% -0.3005% +0.2191]
       No change in performance detected.
Found 5 outliers among 100 measurements (5.00%)
5 (5.00%) high severe
transfer/1-conn/1-100mb-req (aka. Upload)/mtu-1504: 💔 Performance has regressed by +1.7078%.
       time:   [210.78 ms 211.18 ms 211.67 ms]
       thrpt:  [472.43 MiB/s 473.53 MiB/s 474.43 MiB/s]
change:
       time:   [+1.3765% +1.7078% +2.0148] (p = 0.00 < 0.05)
       thrpt:  [-1.9750% -1.6791% -1.3578]
       Performance has regressed.
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high severe
streams/walltime/1-streams/each-1000-bytes: Change within noise threshold.
       time:   [587.60 µs 588.38 µs 589.53 µs]
       change: [-1.4212% -0.9314% -0.4646] (p = 0.00 < 0.05)
       Change within noise threshold.
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high severe
streams/walltime/1000-streams/each-1-bytes: Change within noise threshold.
       time:   [12.426 ms 12.452 ms 12.483 ms]
       change: [-0.9048% -0.5722% -0.2394] (p = 0.00 < 0.05)
       Change within noise threshold.
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high severe
streams/walltime/1000-streams/each-1000-bytes: Change within noise threshold.
       time:   [44.701 ms 44.743 ms 44.784 ms]
       change: [-0.6140% -0.4545% -0.3101] (p = 0.00 < 0.05)
       Change within noise threshold.
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mild
transfer/walltime/pacing-false/varying-seeds: Change within noise threshold.
       time:   [79.816 ms 80.005 ms 80.196 ms]
       change: [+1.6167% +1.9379% +2.2233] (p = 0.00 < 0.05)
       Change within noise threshold.
transfer/walltime/pacing-true/varying-seeds: Change within noise threshold.
       time:   [80.131 ms 80.236 ms 80.351 ms]
       change: [+0.0298% +0.2653% +0.4657] (p = 0.01 < 0.05)
       Change within noise threshold.
Found 10 outliers among 100 measurements (10.00%)
5 (5.00%) high mild
5 (5.00%) high severe
transfer/walltime/pacing-false/same-seed: Change within noise threshold.
       time:   [78.403 ms 78.471 ms 78.549 ms]
       change: [-2.4045% -2.1902% -2.0278] (p = 0.00 < 0.05)
       Change within noise threshold.
Found 4 outliers among 100 measurements (4.00%)
3 (3.00%) high mild
1 (1.00%) high severe
transfer/walltime/pacing-true/same-seed: Change within noise threshold.
       time:   [80.069 ms 80.179 ms 80.344 ms]
       change: [+0.3633% +0.5362% +0.7461] (p = 0.00 < 0.05)
       Change within noise threshold.
Found 3 outliers among 100 measurements (3.00%)
2 (2.00%) high mild
1 (1.00%) high severe

Download data for profiler.firefox.com or download performance comparison data.

mxinden added a commit that referenced this pull request Apr 24, 2026
The `scone` connection parameter (off by default since #3492) only
gated advertisement of the SCONE transport parameter. The Initial-
packet SCONE indication (`0xc8 0x13`) was still emitted unconditionally,
so every default-config client was signaling SCONE on the wire without
actually negotiating it.

This is suspected — not yet confirmed — to be the cause of a Firefox
150 regression where Facebook's edge reacts to the indicator and
Bitdefender's HTTP/3 inspection then trips on the altered server-side
frames (bug 2034178). The QUIC handshake still completes, so the
H3->H2 fallback never kicks in.

Gate both the build-time reservation and the pad-time indicator on
`scone_enabled()`; when disabled, pad Initials with zeros as before
SCONE was introduced.
mxinden added a commit that referenced this pull request Apr 24, 2026
The `scone` connection parameter (off by default since #3492) only
gated advertisement of the SCONE transport parameter. The Initial-
packet SCONE indication (`0xc8 0x13`) was still emitted unconditionally,
so every default-config client was signaling SCONE on the wire without
actually negotiating it.

This is suspected — not yet confirmed — to be the cause of a Firefox
150 regression where Facebook's edge reacts to the indicator and
Bitdefender's HTTP/3 inspection then trips on the altered server-side
frames (bug 2034178). The QUIC handshake still completes, so the
H3->H2 fallback never kicks in.

Gate both the build-time reservation and the pad-time indicator on
`scone_enabled()`; when disabled, pad Initials with zeros as before
SCONE was introduced.
mxinden added a commit to mxinden/neqo that referenced this pull request Apr 24, 2026
The `scone` connection parameter (off by default since mozilla#3492) only
gated advertisement of the SCONE transport parameter. The Initial-
packet SCONE indication (`0xc8 0x13`) was still emitted unconditionally,
so every default-config client was signaling SCONE on the wire without
actually negotiating it.

This is suspected — not yet confirmed — to be the cause of a Firefox
150 regression where Facebook's edge reacts to the indicator and
Bitdefender's HTTP/3 inspection then trips on the altered server-side
frames (bug 2034178). The QUIC handshake still completes, so the
H3->H2 fallback never kicks in.

Gate both the build-time reservation and the pad-time indicator on
`scone_enabled()`; when disabled, pad Initials with zeros as before
SCONE was introduced.
pull Bot pushed a commit to age-rs/quic-rs that referenced this pull request May 4, 2026
…ozilla#3575)

The `scone` connection parameter (off by default since mozilla#3492) only
gated advertisement of the SCONE transport parameter. The Initial-
packet SCONE indication (`0xc8 0x13`) was still emitted unconditionally,
so every default-config client was signaling SCONE on the wire without
actually negotiating it.

This is suspected — not yet confirmed — to be the cause of a Firefox
150 regression where Facebook's edge reacts to the indicator and
Bitdefender's HTTP/3 inspection then trips on the altered server-side
frames (bug 2034178). The QUIC handshake still completes, so the
H3->H2 fallback never kicks in.

Gate both the build-time reservation and the pad-time indicator on
`scone_enabled()`; when disabled, pad Initials with zeros as before
SCONE was introduced.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants