HTTP/3: sites that offer h3 in Alt-Svc are reached over QUIC (quic-go),
falling back to TCP for ten minutes when QUIC fails. RemoteHttpVersion
takes 3.0 (=3.0 forces it, <3.0 turns it off). Not used through an
UpperProxy or without TLS 1.3.
gRPC: in decrypted CONNECT tunnels to 443, clients that offer only h2 in
ALPN get HTTP/2 and are reverse-proxied to the site over HTTP/2, streamed
both ways with trailers. NonHttpSslServers tunnels now mirror ALPN to the
server, so h2 works through them too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSqXQt9VziEWCfxcMo
CONNECT's handshake now looks at the client's first bytes: SSL
2.0-format hellos and SSL 3.0-only hellos go to retrossl, everything else
to Go's TLS. Ssl2 and Ssl3 in SslProtocols turn them on (SSL 3.0 is on
by default), SslCipherSuites accepts retrossl's suite names, and the
program allows the export suites' 512-bit keys.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRH4kntyPfrY1bFWC3
A Go translation of WebOne (github.com/atauenis/webone, commit e940b43),
the HTTP 1.x proxy that lets old browsers use today's web: config loader
with sets of edits and .NET regular expressions, the HTTP/1.0-1.1 server
with keep-alive, HTTPS fetching and patching, code pages, the CONNECT
proxy (MITM, pass-through, non-HTTP tunnels), the CA and site certificates
(MD5/SHA-1 signing included), internal and error pages, Web Archive
fallback, converters, web FTP client and online video.
WebOne's licence, configuration files and html pages are kept. Go-only
options: SslCaDirectory signs with the D-Modem BBS's proxy sub-CA (or its
root), SslTrustOwnCA, and DnsServer. README lists the differences: no SSL
2.0/3.0 in Go's TLS, and the upstream bugs fixed on purpose.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRH4kntyPfrY1bFWC3