• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alexferl / zerohttp / 46445936173
94%

Build:
DEFAULT BRANCH: master
Ran 30 Nov 2026 03:05PM UTC
Jobs 1
Files 93
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Nov 2026 03:03PM UTC coverage: 93.561% (-0.04%) from 93.605%
46445936173

push

github

web-flow
Feat/tls options quic (#182)

* feat(tls): apply TLS options to HTTP/3 and WebTransport

TLSConfig only exposed MinVersion, MaxVersion and CipherSuites, and those
were applied to the HTTPS server alone. The HTTP/3 and WebTransport servers
build their own tls.Config, so any other TLS setting had no way to reach
them, and the two protocols could silently diverge from HTTPS.

Add CurvePreferences, SessionTicketsDisabled and NextProtos to TLSConfig.
CurvePreferences is how the post-quantum X25519MLKEM768 hybrid is selected
or dropped; SessionTicketsDisabled also disables QUIC 0-RTT, which needs a
session ticket. NextProtos only affects the HTTPS server: QUIC servers
keep their own "h3" ALPN.

Add optional ServerWithTLSConfig interfaces to the http3 and webtransport
extension packages and apply the shared options to injected servers that
implement them. Adapters such as zerohttp-contrib's implement the
interface; other servers keep full control of their TLS configuration.

In AutoTLS mode the GetCertificate hook is also installed on an existing
QUIC TLS config. Adapters create their config with the raw manager's hook
before zerohttp sees it, which bypassed the ECDSA-only hello normalization
and could request an RSA certificate for HTTP/3 clients.

Signed-off-by: alexferl <me@alexferl.com>

* docs(securityheaders): note that HSTS is opt-in

HSTS is off until MaxAge is set, and that stays the default: enabling it
for every deployment would send includeSubDomains with a long max-age to
applications that still serve subdomains over plain HTTP, and browsers
make the policy impossible to revoke before it expires.

Say so on the MaxAge field so the opt-in is deliberate.

Signed-off-by: alexferl <me@alexferl.com>

---------

Signed-off-by: alexferl <me@alexferl.com>

45 of 49 new or added lines in 3 files covered. (91.84%)

5 existing lines in 2 files now uncovered.

9329 of 9971 relevant lines covered (93.56%)

121.49 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
89.56
0.63% server.go
2
92.31
-7.69% server_http3.go

Coverage Regressions

Lines Coverage ∆ File
3
96.21
-0.67% router.go
2
96.15
-3.85% validator/registry.go
Jobs
ID Job ID Ran Files Coverage
1 46445936173.1 30 Nov 2026 03:05PM UTC 93
93.56
GitHub Action Run
Source Files on build 46445936173
  • Tree
  • List 93
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #46445936173
  • 00012b71 on github
  • Prev Build on master (#46434732774)
  • Next Build on master (#46452626985)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc