LiteSpeed Enterprise ships with HTTP/3 and QUIC built in — no recompilation required. The catch is that enabling it correctly involves more than flipping a configuration flag: UDP port 443 must be open in the firewall, the Alt-Svc response header must be set correctly for browsers to negotiate the upgrade, and TLS 1.3 must be active. Misconfigured QUIC is invisible to users because browsers silently fall back to HTTP/2 when QUIC fails; you need to verify it is actually working rather than assuming it is because the flag is on.
How to verify
Check whether QUIC is currently being negotiated on your server:
# From a client with curl built against a QUIC-capable library
curl --http3 -sI https://example.com/ 2>&1 | head -5
# From the server, check that UDP 443 is listening
ss -ulnp | grep ':443'
# Confirm LSWS is running with QUIC support compiled in
/usr/local/lsws/bin/lshttpd -v | grep -i quic
# Check Alt-Svc header is present
curl -sI https://example.com/ | grep -i alt-svc
Expected Alt-Svc header output:
alt-svc: h3=":443"; ma=2592000, h3-29=":443"; ma=2592000
Also verify in the LiteSpeed admin console under Real-Time Stats that QUIC connections appear alongside HTTP/2 and HTTP/1.1 counts.
What’s happening
HTTP/3 runs over QUIC, which uses UDP rather than TCP. This is the fundamental protocol shift: all prior HTTP versions (including HTTP/2) run over TCP. QUIC eliminates the TCP three-way handshake for returning connections (0-RTT resume), multiplexes streams without head-of-line blocking, and integrates TLS 1.3 as a non-optional component. For users on lossy connections or mobile networks, QUIC’s congestion control and connection migration provide measurable latency improvements.
LiteSpeed Enterprise implements QUIC as part of the lshttpd binary. When a client makes an initial HTTPS request over TCP, LSWS responds with the Alt-Svc header advertising the QUIC endpoint on UDP 443. On the next request, a QUIC-capable browser attempts to connect via QUIC instead of TCP. If the QUIC handshake succeeds, subsequent requests use HTTP/3 over QUIC for the duration of the connection. If QUIC fails at any point — blocked by firewall, NAT issue, packet loss during handshake — the browser falls back to HTTP/2 silently.
The administrator’s job is to ensure the QUIC path is clear: UDP 443 unblocked end-to-end, TLS certificate valid for TLS 1.3 (all modern Let’s Encrypt and Sectigo certificates qualify), and the Alt-Svc header is present and points to the correct port. On servers behind a Cloudflare proxy, QUIC between the browser and Cloudflare is handled by Cloudflare — what you configure on LiteSpeed is the QUIC path between Cloudflare’s edge and your origin, which Cloudflare calls Argo Smart Routing and does not use port 443.
The procedure
1. Confirm LSWS version includes QUIC support.
QUIC support was introduced in LSWS 5.4. Check your version:
/usr/local/lsws/bin/lshttpd -v
If you are running LSWS <= 5.3, upgrade first through the WHM LiteSpeed plugin or /scripts/lsws_upgrade.
2. Open UDP port 443 in the firewall.
On servers using CSF (ConfigServer Firewall), which is common on cPanel:
# Edit /etc/csf/csf.conf and add 443 to UDP_IN and UDP_OUT
grep -E "^UDP_(IN|OUT)" /etc/csf/csf.conf
# Modify the lines to include 443
# UDP_IN = "...,443"
# UDP_OUT = "...,443"
csf -r
On servers using firewalld:
firewall-cmd --permanent --add-port=443/udp
firewall-cmd --reload
On servers using iptables directly:
iptables -I INPUT -p udp --dport 443 -j ACCEPT
iptables -I OUTPUT -p udp --sport 443 -j ACCEPT
# Persist with iptables-save > /etc/iptables/rules.v4
3. Enable QUIC in the LiteSpeed admin console.
Navigate to Configuration → Server → General in the LiteSpeed Web Admin Console (port 7080). Under QUIC, set:
- Enable QUIC: Yes
- QUIC SHM Directory:
/dev/shm(shared memory path, default works on most Linux distributions)
Or edit /usr/local/lsws/conf/httpd_config.conf directly:
quic {
enable 1
shmDir /dev/shm
statDir /tmp/lsquic
}
Restart LSWS to apply:
/usr/local/lsws/bin/lswsctrl restart
4. Verify the Alt-Svc header is present.
curl -sI https://example.com/ | grep -i alt-svc
If the header is missing, check that the listener on port 443 has QUIC enabled. In the LiteSpeed admin console, go to Configuration → Listeners, select your HTTPS listener, and confirm Enable QUIC is set to Yes for that listener specifically.
5. Verify UDP 443 is reachable from outside.
From a remote machine or use an online QUIC/HTTP3 checker:
# Requires curl with HTTP/3 support (e.g. brew install curl on macOS with --with-http3)
curl --http3 -sI https://example.com/
Or use the online checker at https://http3check.net/ pointing at your domain.
6. Check browser is using HTTP/3.
In Chrome, navigate to chrome://net-internals/#quic and look for active QUIC sessions for your domain. In Firefox, open DevTools → Network tab and check the Protocol column for h3.
Common pitfalls
UDP blocked by upstream network equipment. Some data centres, cloud providers, or corporate networks block UDP traffic on port 443 by default. Even if CSF and iptables are configured correctly on the server, an upstream firewall or security group may silently drop QUIC packets. Test from a client outside the data centre network to confirm.
Cloudflare proxied domains do not expose server-side QUIC to browsers. When a domain is proxied through Cloudflare (orange cloud), Cloudflare terminates the connection at its edge. QUIC between the browser and Cloudflare is Cloudflare’s implementation, not yours. The QUIC configuration on your LSWS server affects the origin-to-edge leg only, not the browser-to-edge leg.
TLS 1.3 not enabled on the listener. QUIC requires TLS 1.3. If the HTTPS listener has a cipher suite list that excludes TLS 1.3 ciphers (or explicitly sets maxTLSVer below 1.3), QUIC will fail to negotiate. In the admin console, ensure the SSL/TLS setting for the listener includes TLSv1.3.
/dev/shm too small or not mounted. QUIC uses shared memory for session data. If /dev/shm is mounted with a very small tmpfs size (some hardened configurations set it to 64 MB), QUIC may fail to initialize. Check with df -h /dev/shm — 512 MB or more is comfortable.
Confusing HTTP/2 push with HTTP/3. HTTP/2 Server Push and HTTP/3 QUIC are independent features. Having HTTP/2 working does not mean HTTP/3 is active, and vice versa. Always verify with the Alt-Svc header and a QUIC-capable curl command.
Stack Harbor configures HTTP/3 QUIC and validates firewall rules as part of managed cloud operations. If you need verified QUIC delivery for high-traffic applications, the knowledge base has additional guidance on TLS and network configuration.