Why QUIC.
zgrok tunnels run over QUIC, the transport behind HTTP/3, instead of raw TCP. That choice keeps latency low under load and lets the tunnel recover quickly when a network drops.
No head-of-line blocking
TCP delivers one ordered byte stream: a single lost packet stalls everything behind it. QUIC multiplexes independent streams over one connection, so a dropped packet on one request never blocks the others.
Faster handshakes
QUIC folds the transport and TLS 1.3 handshakes into a single round trip, so a new connection can carry data sooner than the separate TCP-then-TLS setup a plain tunnel pays for. When a network drops, the zgrok CLI reconnects automatically with exponential backoff, re-establishing the tunnel over a fresh QUIC handshake.
TLS 1.3 by default
QUIC bakes TLS 1.3 into the transport, so there is no unencrypted mode. Every zgrok tunnel is end-to-end encrypted with a modern cipher suite, with the handshake folded into connection setup for a faster first byte.
Built for tunnels
Low-latency multiplexed streams, a fast handshake, and encrypted-by-default transport are exactly what a tunnel needs. That is why zgrok is QUIC-first rather than bolting a tunnel onto plain TCP.