# Protocol: HTTP/3 fallback through proxies

Slug: `http3-proxy-fallback-3day`  
Frozen at: `2026-11-19T15:04:00Z`  
Question: on a frozen list of origins that negotiate HTTP/3, which protocol remains (`h3`, `h2`, or `h1`) through residential HTTP and SOCKS5h?

This study records negotiated HTTP versions. It does not score block or allow outcomes, and it is not the VPN censorship event study.

## Schedule

Collection starts `2026-11-19`. The host list was frozen on that day, and the first diary slot runs the same day.

| Slot id | Window (UTC) |
| --- | --- |
| `20261119-immediate` | `2026-11-19T00:00:00Z`–`2026-11-19T17:50:00Z` |
| `20261119T1800Z` | `2026-11-19T17:50:00Z`–`2026-11-19T18:45:00Z` |
| `20261120T0600Z` | `2026-11-20T05:50:00Z`–`2026-11-20T06:45:00Z` |
| `20261120T1800Z` | `2026-11-20T17:50:00Z`–`2026-11-20T18:45:00Z` |
| `20261121T0600Z` | `2026-11-21T05:50:00Z`–`2026-11-21T06:45:00Z` |
| `20261121T1800Z` | `2026-11-21T17:50:00Z`–`2026-11-21T18:30:00Z` |

Stop after `2026-11-21T18:30:00Z`. Do not open another slot. The research article and the site page are written after that stop, on this branch. The Day 0 screen is how the list was chosen. It is not one of the six diary rates.

## Vantage and conditions

USA Cursor cloud agent. Three conditions, same URLs, same client:

| Condition | Path |
| --- | --- |
| `direct` | No proxy. Process proxy environment variables are removed. |
| `residential-http` | ProxySeller residential HTTP proxy from `PROXYSELLER_HOST`, `PROXYSELLER_HTTP_PORT`, `PROXYSELLER_USER`, `PROXYSELLER_PASS`. |
| `residential-socks5h` | Same product, SOCKS5 with remote DNS (`--socks5-hostname`) on `PROXYSELLER_SOCKS_PORT`. |

CometVPN is `NOT_RUN`. This study does not open a VPN tunnel. If a proxy condition cannot start because a required variable is missing, that condition is `not_run` for the slot and the other conditions still run.

The screen recorded `ports_equal: true` (the injected HTTP and SOCKS port values are the same number; the number is not published). Both conditions still completed a Cloudflare trace during the screen, so equal port values did not by themselves make SOCKS `NOT_RUN`.

## Client

Pinned curl **8.23.0** with HTTP/3, not Ubuntu curl 8.5.0 (that build has HTTP/2 and no HTTP/3 feature).

- Binary SHA-256: `b19756efa22538f0af3bb293626841c9dbf0d168489a1924f0e3edec2f560ba6`
- Tarball SHA-256: `a9f5d72eb245623f82a649bf64acae0c935af3510700d2167857964c47fe9e5b`
- Source: `https://github.com/stunnel/static-curl/releases/download/8.23.0-1/curl-linux-x86_64-glibc-8.23.0-1.tar.xz`
- Backend reported by that build: ngtcp2/1.25.0, nghttp3/1.18.0, OpenSSL/4.0.3
- Feature flags used as a check: `HTTP3`, `proxy-HTTP3`, `alt-svc`

The binary is downloaded into `private/` (gitignored) and checked against the binary hash before each run.

User-Agent: `FreePolicyToolsResearch/1.0 (+https://freepolicytools.com/; http3-proxy-fallback-3day)`.

Requests are HTTPS only, do not follow redirects, and use a 6 second connect timeout and a 12 second total timeout. One retry is kept when the first attempt has no protocol and curl exits 7 or 28. The saved row is the last attempt, with `retried` set.

## What the two modes mean

| Mode | curl flag | Role |
| --- | --- | --- |
| `prefer-h3` | `--http3` | Primary answer. HTTP/3 is preferred, and fallback to an earlier HTTP version is allowed. The saved `protocol` is the version curl actually used. |
| `h3-only` | `--http3-only` | Whether that path can finish HTTP/3 at all. No fallback. |

`protocol` is curl `%{http_version}` mapped as `3` → `h3`, `2` → `h2`, `1` / `1.1` → `h1`. Empty or `0` is no protocol.

A row counts as HTTP/3 success only when `protocol` is `h3`, curl exits 0, certificate verify result is 0, the HTTP status is 100–599, and the final host is the requested host. A 204 or a 301 that stays on that host still counts. Redirects are not followed, so a 301 is evidence about the frozen host, not about the redirect target.

## How this curl carries HTTP/3

Day 0 trace inspection of a residential HTTP `--http3-only` request to `https://www.cloudflare.com/` showed this sequence, which the collector then records as `mechanism: connect-udp` when the same phrase appears:

1. The client speaks HTTP/1.1 to the residential HTTP proxy.
2. It requests a CONNECT-UDP tunnel (MASQUE) for the origin on port 443.
3. The proxy answers `101` and the tunnel is established.
4. curl then uses HTTP/3 inside that tunnel.

`--proxy-http3` is not passed. That flag would speak HTTP/3 to an HTTPS proxy. The product path under test is an HTTP proxy and SOCKS5h.

On SOCKS5h, this same curl exits immediately for `--http3-only` and reports that HTTP/3 is not supported over a SOCKS proxy (`mechanism: socks-h3-unsupported`, `error_class: h3_unsupported_by_client`). `--http3` then continues on TCP and the saved version is whatever that TCP request negotiates. That SOCKS result is a property of curl 8.23.0. It is not, by itself, a measurement that the SOCKS network path dropped UDP. No second QUIC stack is used.

On the direct path, `--http3-only` has no CONNECT-UDP proxy to use. During the screen it timed out for every priority host and for `https://cloudflare-quic.com/`. `--http3` on `https://www.cloudflare.com/` fell back to `h2` and returned HTTP 200.

## Freeze rule

The candidate order is `PRIORITY` in `scripts/collect_slot.py`. It was fixed before the screen. Membership is not reordered after the results.

1. Count priority hosts with direct `--http3-only` success.
2. If that count is at least 8, freeze the first 12 of those hosts.
3. Otherwise freeze the first 12 priority hosts with residential HTTP `--http3-only` success.

Applied rule: **`residential-http-h3-only`**. Direct `--http3-only` successes among the 20 priority hosts: **0**. Residential HTTP `--http3-only` successes: **17**. The cap filled with priorities 1–12, all of which succeeded.

### Frozen hosts

| Order | URL | Screen status | Screen mechanism |
| --- | --- | --- | --- |
| 1 | `https://www.cloudflare.com/` | 200 | connect-udp |
| 2 | `https://blog.cloudflare.com/` | 200 | connect-udp |
| 3 | `https://one.one.one.one/` | 200 | connect-udp |
| 4 | `https://dns.google/` | 200 | connect-udp |
| 5 | `https://www.google.com/` | 200 | connect-udp |
| 6 | `https://www.youtube.com/` | 200 | connect-udp |
| 7 | `https://www.gstatic.com/generate_204` | 204 | connect-udp |
| 8 | `https://www.facebook.com/` | 200 | connect-udp |
| 9 | `https://www.instagram.com/` | 200 | connect-udp |
| 10 | `https://www.litespeedtech.com/` | 200 | connect-udp |
| 11 | `https://www.fastly.com/` | 200 | connect-udp |
| 12 | `https://cdn.jsdelivr.net/` | 301 | connect-udp |

Priorities 13 and later were not needed to fill the cap. Their screen rows stay in `evidence/day0-screen/results.json`. Three of those later residential HTTP `--http3-only` attempts did not produce `h3` (`github.com`, `www.microsoft.com`, `www.apple.com`). The Day 0 `error_class` on those rows was taken from the full verbose log. Verbose text includes CA-path lines and proxy setup, so `tls` or `proxy_auth` on a non-frozen screen row is not a confirmed cause. Diary slots classify from curl's own result line only. Frozen membership did not use those labels.

### Control and probe

Negative control, measured every diary slot and kept out of the primary rates: `https://www.wikipedia.org/`. On the screen, residential HTTP `--http3-only` timed out and residential HTTP `--http2` completed as `h2`.

`https://example.com/` and `https://example.net/` completed residential HTTP `--http3-only` as `h3`, so they are not negative controls.

Probe, also outside the primary rates: `https://cloudflare-quic.com/`. Screen direct `--http3-only` timed out. Residential HTTP `--http3-only` completed as `h3` with `connect-udp`.

## Screen path check

Cloudflare trace `https://www.cloudflare.com/cdn-cgi/trace` during the screen, with raw IP replaced by a salted hash:

| Condition | Mode | loc | colo | Trace `http` | IP hash |
| --- | --- | --- | --- | --- | --- |
| direct | prefer-h2 | US | IAD | http/2 | `ip_4472029572c62f07` |
| residential-http | prefer-h2 | JP | KIX | http/2 | `ip_00ff80bf07d1cc0c` |
| residential-http | h3-only | JP | KIX | http/3 | `ip_00ff80bf07d1cc0c` |
| residential-socks5h | prefer-h3 | JP | KIX | http/2 | `ip_00ff80bf07d1cc0c` |

The residential HTTP and SOCKS traces shared a hash and differed from the direct hash. The residential HTTP `--http3-only` trace body said `http/3`, which matches curl's version on that path. The SOCKS `--http3` trace body said `http/2`.

Per-request `exit_ip_hash` is recorded only when verbose output contains an exit-IP header on the HTTP proxy path. SOCKS rows rely on the slot trace instead. Hashes use a salt in `private/ip-salt.txt` and are not raw addresses. They are not comparable to hashes from other studies.

## Diary procedure

For each frozen host, the Wikipedia control, and the QUIC probe, each slot runs:

- `direct` `prefer-h3` and `h3-only`
- `residential-http` `prefer-h3` and `h3-only`
- `residential-socks5h` `prefer-h3` and `h3-only`

Each slot also fetches the Cloudflare trace once per condition (`prefer-h2`), plus direct `h3-only` and residential HTTP `h3-only`.

Primary table for the article: counts of `prefer-h3` protocol (`h3`, `h2`, `h1`, or none) among the 12 frozen hosts, by condition and slot. `h3-only` completion is the secondary table. Controls and the probe are reported separately. The screen is not pooled into those rates, because residential HTTP membership was defined by `h3-only` success.

## Redaction and secrets

Committed files must not contain proxy host, username, password, proxy-authorization material, or raw IP addresses. The collector scans evidence and `hosts.frozen.json` before it leaves them on disk. `private/` is gitignored. Verbose logs are not saved.

## Limits known at freeze

- One HTTP client, curl 8.23.0. SOCKS HTTP/3 failure is that client's explicit refusal.
- Direct QUIC from this cloud agent timed out on the screen, including on a QUIC-oriented hostname, so the list was frozen with the pre-registered residential HTTP rule.
- One residential proxy product. The screen exit was JP / KIX. Later slots may rotate. One trace per condition does not prove every request in the slot used the same exit.
- No browser, no MASQUE client other than this curl, no VPN condition.
- Redirects are not followed.
- The 12-host cap drops later successes on purpose. Akamai was priority 13 and is not in the frozen list even if its screen row succeeded.
- Certificate verification must succeed for a row to count as HTTP/3 success. A verify failure is kept as a row and does not enter the frozen list.

## Prior work, as a snapshot only

The censorship event study measured reachability and HTTP status for a different host list. The proxy-routing study measured whether clients sent traffic to a proxy at all. This diary starts from requests that do use the proxy and records the HTTP version that remains.

Affiliate links for `/proxyseller/` and `/cometvpn/`, and the disclosure, belong in the article after the last slot. They are not part of the frozen method.

## Amendment, 24 November 2026

The `20261121T1800Z` slot was not collected inside `2026-11-21T17:50:00Z`–`2026-11-21T18:30:00Z`. The collector was unavailable until 24 November. That slot was then run once with `collect --slot 20261121T1800Z --late`. `--late` is accepted only for this slot id. It does not open a new slot, does not change `hosts.frozen.json`, and does not move `generated_at`. The summary sets `collected_late` and records the scheduled window beside the actual clock (`2026-11-24T11:57:40Z`).

The five slots collected inside their windows are the diary rate. The late slot is reported separately in the article. It is not pooled into those counts.
